Gets option value (value attribute) for selected option in the specified select element.
Namespace: SeleniumAssembly: ThoughtWorks.Selenium.Core (in ThoughtWorks.Selenium.Core.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
Parameters
- selectLocator
- Type:
System String
an element locator identifying a drop-down menu
Return Value
the selected option value in the specified select drop-downSee Also