Add a selection to the set of selected options in a multi-select element using an option locator.
@see #doSelect for details of option locators
Namespace: SeleniumAssembly: ThoughtWorks.Selenium.Core (in ThoughtWorks.Selenium.Core.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
Parameters
- locator
- Type:
System String
an element locator identifying a multi-select box
- optionLocator
- Type:
System String
an option locator (a label by default)
Implements
ISelenium AddSelection(String, String)See Also