ISeleniumAddSelection Method WebDriver
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: Selenium
Assembly: ThoughtWorks.Selenium.Core (in ThoughtWorks.Selenium.Core.dll) Version: 3.1.0
Syntax

void AddSelection(
	string locator,
	string optionLocator
)

Parameters

locator
Type: SystemString
an element locator identifying a multi-select box
optionLocator
Type: SystemString
an option locator (a label by default)
See Also

Reference