/src/main/java/org/htmlunit/html/HtmlSelect.java
if ( node instanceof HtmlOption ) { final HtmlOption option = ( HtmlOption ) node; if ( option.isSelected ( ) ) { doSelectOption ( option, true, false, false, false ) ; }
appendChild(newOption); ensureSelectedIndex(); } @Override public DomNode appendChild(final Node node) { final DomNode response = super.appendChild(node); <extra_id_0> } return response; } public <P extends Page> P setSelectedAttribute(final String optionValue, final boolean isSelected) { return setSelectedAttribute(optionValue, isSelected, true); }