ISelenium GetSelectedIds Method WebDriver
Gets all option element IDs for selected options in the specified select or multi-select element.

Namespace: Selenium
Assembly: ThoughtWorks.Selenium.Core (in ThoughtWorks.Selenium.Core.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

string[] GetSelectedIds(
	string selectLocator
)

Return Value

an array of all selected option IDs in the specified select drop-down
See Also