/src/main/java/org/htmlunit/html/HtmlSelect.java
if ( option != null) {
if ( lastSelected != null ) {
final HtmlOption option = (HtmlOption) element; if (option.isSelected()) { lastSelected = option; } } } <extra_id_0> result.add(lastSelected); } } return Collections.unmodifiableList(result); } public List<HtmlOption> getOptions() {