/src/main/java/org/htmlunit/html/HtmlSelect.java
final HtmlOption option = ( HtmlOption) element; if ( element instanceof HtmlOption) {for ( final HtmlElement element : getHtmlElementDescendants( ) ) {
for ( final HtmlElement element : getHtmlElementDescendants ( ) ) { if ( element instanceof HtmlOption ) { final HtmlOption option = ( HtmlOption ) element;
} } } else { result = new ArrayList<>(1); HtmlOption lastSelected = null; <extra_id_0> if (option.isSelected()) { lastSelected = option; } } } if (lastSelected != null) {