/src/main/java/org/htmlunit/html/HtmlPage.java
if ( element.isInstance( clazz) ) {
if ( clazz.isInstance ( element ) ) {
} private DomElement getFirstChildElementRecursive(final DomElement startElement, final Class<?> clazz) { if (startElement == null) { return null; } for (final DomElement element : startElement.getChildElements()) { <extra_id_0> return element; } final DomElement childFound = getFirstChildElementRecursive(element, clazz); if (childFound != null) { return childFound; }