An NDoc Documented Class Library

DefaultSelenium.GetSelectedValue Method 

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

public 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

Implements

ISelenium.GetSelectedValue

See Also

DefaultSelenium Class | Selenium Namespace