/src/main/java/org/htmlunit/html/HtmlSelect.java
setSelectedIndex ( -1 ) ;
final HtmlOption itemToSelect = allOptions.get(index); setSelectedAttribute(itemToSelect, true, false, true, false, true); } } public void ensureSelectedIndex() { if (getOptionSize() == 0) { <extra_id_0> } else if (getSelectedIndex() == -1 && !isMultipleSelectEnabled()) { setSelectedIndex(0); } } public int indexOf(final HtmlOption option) {