Testing_Selenium::getSelectedId
Gets option element ID for selected option in the specified select element.
Signature
public function getSelectedId(string
$selectLocator )
Parameters
-
$selectLocator
- an element locator identifying a drop-down menu
Returns
- string
- the selected option ID in the specified select drop-down