/src/main/java/org/htmlunit/html/HtmlSelect.java
first.setSelectedInternal( true) ;setSelectedIndex( 0) ;
setSelectedIndex ( 0 ) ;
} public void ensureSelectedIndex() { if (getOptionSize() == 0) { setSelectedIndex(-1); } else if (getSelectedIndex() == -1 && !isMultipleSelectEnabled()) { <extra_id_0> } } public int indexOf(final HtmlOption option) { if (option == null) { return 0; }