An NDoc Documented Class Library

ISelenium.GetSelectedIds Method 

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

string[] GetSelectedIds(
   string selectLocator
);

Parameters

selectLocator
an element locator identifying a drop-down menu

Return Value

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

See Also

ISelenium Interface | Selenium Namespace