/src/main/java/org/htmlunit/html/HtmlLabel.java
if ( element instanceof LabelableElement ) { return ( HtmlElement ) element; }
} } public HtmlElement getLabeledElement() { final String elementId = getForAttribute(); if (ATTRIBUTE_NOT_DEFINED == elementId) { for (final DomNode element : getChildren()) { <extra_id_0> } } else { try { final HtmlElement element = ((HtmlPage) getPage()).getHtmlElementById(elementId); if (element instanceof LabelableElement) {