Testing_Selenium::getAttribute
Gets the value of an element attribute. The value of the attribute may differ across browsers (this is the case for the "style" attribute, for example).
Signature
public function getAttribute(string
$attributeLocatorĀ )
Parameters
-
$attributeLocator
- an element locator followed by an @ sign and then the name of the attribute, e.g. "foo@bar"
Returns
- string
- the value of the specified attribute