An NDoc Documented Class Library

DefaultSelenium.GetSelectedId Method 

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

public 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

Implements

ISelenium.GetSelectedId

See Also

DefaultSelenium Class | Selenium Namespace