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