protected override object HandleSeleneseCommand(IWebDriver driver, string locator, string value) { IWebElement element = finder.FindElement(driver, locator); if (!SeleniumOptionSelector.IsMultiSelect(element)) { throw new SeleniumException("You may only add a selection to a select that supports multiple selections"); } selector.Select(driver, locator, value, true, false); return(null); }