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