An NDoc Documented Class Library |

# DefaultSelenium.AddSelection Method

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

public void AddSelection(
string locator,
string optionLocator
);

#### Parameters

locator
  an element locator identifying a multi-select box
optionLocator
  an option locator (a label by default)

#### Implements

ISelenium.AddSelection

#### See Also

DefaultSelenium Class | Selenium Namespace