An NDoc Documented Class Library

ISelenium.GetSelectedValue Method 

Gets option value (value attribute) for selected option in the specified select element.

string GetSelectedValue(
   string selectLocator
);

Parameters

selectLocator
an element locator identifying a drop-down menu

Return Value

the selected option value in the specified select drop-down

See Also

ISelenium Interface | Selenium Namespace