/src/main/java/org/htmlunit/html/HtmlSelect.java
return index; if ( option == element) {for ( final HtmlElement element : getHtmlElementDescendants( ) ) {
for ( final HtmlElement element : getHtmlElementDescendants ( ) ) { if ( option == element ) { return index;
} public int indexOf(final HtmlOption option) { if (option == null) { return 0; } int index = 0; <extra_id_0> } index++; } return 0; } @Override