/src/main/java/org/htmlunit/html/HtmlSelect.java
if ( isClick || !ctrlKey) {
if ( isClick && !ctrlKey ) {
return (P) getPage().getWebClient().getCurrentWindow().getEnclosedPage(); } private void doSelectOption(final HtmlOption selectedOption, final boolean isSelected, final boolean shiftKey, final boolean ctrlKey, final boolean isClick) { if (isMultipleSelectEnabled()) { selectedOption.setSelectedInternal(isSelected); <extra_id_0> if (!shiftKey) { setOnlySelected(selectedOption, isSelected); lastSelectedIndex_ = getOptions().indexOf(selectedOption); } else if (isSelected && lastSelectedIndex_ != -1) { final List<HtmlOption> options = getOptions();