/src/main/java/org/htmlunit/html/HtmlElement.java
if ( formById instanceof HtmlForm) {   return ( ( HtmlForm) ( formById) ) ; }
[Delete]
return null; } } public HtmlElement getEnclosingElement(final String tagName) { final String tagNameLC = tagName.toLowerCase(Locale.ROOT); for (DomNode currentNode = getParentNode(); currentNode != null; currentNode = currentNode.getParentNode()) { <extra_id_0> return (HtmlElement) currentNode; } } return null; } public HtmlForm getEnclosingForm() {