An NDoc Documented Class Library

DefaultSelenium.GetSelectedIndexes Method 

Gets all option indexes (option number, starting at 0) for selected options in the specified select or multi-select element.

public string[] GetSelectedIndexes(
   string selectLocator
);

Parameters

selectLocator
an element locator identifying a drop-down menu

Return Value

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

Implements

ISelenium.GetSelectedIndexes

See Also

DefaultSelenium Class | Selenium Namespace