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).
Namespace: SeleniumAssembly: ThoughtWorks.Selenium.Core (in ThoughtWorks.Selenium.Core.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
Parameters
- attributeLocator
- Type:
System String
an element locator followed by an @ sign and then the name of the attribute, e.g. "foo@bar"
Return Value
the value of the specified attributeSee Also