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