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