DefaultSelenium GetSelectedLabel Method WebDriver
Gets option label (visible text) for selected option in the specified select element.

Namespace: Selenium
Assembly: ThoughtWorks.Selenium.Core (in ThoughtWorks.Selenium.Core.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

public string GetSelectedLabel(
	string selectLocator
)

Return Value

the selected option label in the specified select drop-down

Implements

ISelenium GetSelectedLabel(String)
See Also