DefaultSelenium GetSelectedIndexes Method WebDriver
Gets all option indexes (option number, starting at 0) 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

public string[] GetSelectedIndexes(
	string selectLocator
)

Return Value

an array of all selected option indexes in the specified select drop-down

Implements

ISelenium GetSelectedIndexes(String)
See Also