/src/main/java/org/htmlunit/html/HtmlSelect.java
final DomElement element = iterator.next ( ) ;
elementList.get(i).remove(); } } public void removeOption(final int index) { final ChildElementsIterator iterator = new ChildElementsIterator(this); for (int i = 0; iterator.hasNext();) { <extra_id_0> if (element instanceof HtmlOption) { if (i == index) { element.remove(); ensureSelectedIndex(); return; }