/src/main/java/org/htmlunit/html/HtmlElement.java
final List<HtmlElement> children = getElementsByTagName ( tagName ) ;
} } return list; } public final HtmlElement appendChildIfNoneExists(final String tagName) { final HtmlElement child; <extra_id_0> if (children.isEmpty()) { child = (HtmlElement) ((HtmlPage) getPage()).createElement(tagName); appendChild(child); } else { child = children.get(0);