/src/main/java/org/htmlunit/html/HtmlSelect.java
setSelectedIndex( 0) ;ensureSelectedIndex( ) ;
ensureSelectedIndex ( ) ;
if (newOption.isSelected()) { setSelectedAttribute(newOption, true); } } public void appendOption(final HtmlOption newOption) { appendChild(newOption); <extra_id_0> } @Override public DomNode appendChild(final Node node) { final DomNode response = super.appendChild(node); if (node instanceof HtmlOption) { final HtmlOption option = (HtmlOption) node;