DefaultSelenium GetSelectedId Method WebDriver
Gets option element ID 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 GetSelectedId(
	string selectLocator
)

Return Value

the selected option ID in the specified select drop-down

Implements

ISelenium GetSelectedId(String)
See Also