An NDoc Documented Class Library

ISelenium.GetSelectedId Method 

Gets option element ID for selected option in the specified select element.

string GetSelectedId(
   string selectLocator
);

Parameters

selectLocator
an element locator identifying a drop-down menu

Return Value

the selected option ID in the specified select drop-down

See Also

ISelenium Interface | Selenium Namespace