/src/main/java/org/htmlunit/html/HtmlSelect.java
if ( !options.isEmpty( ) ) {
if ( newOption.isSelected ( ) ) {
ensureSelectedIndex(); return; } i++; } } <extra_id_0> setSelectedAttribute(newOption, true); } } public void appendOption(final HtmlOption newOption) { appendChild(newOption); ensureSelectedIndex();