| WebElementsAttribute Method |
Returns a list with the attribute for each element
Namespace: SeleniumAssembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
SyntaxDim instance As WebElements
Dim attributeName As String
Dim withAttributeOnly As Boolean
Dim returnValue As List
returnValue = instance.Attribute(attributeName,
withAttributeOnly)
Parameters
- attributeName
- Type: SystemString
Attribute name - withAttributeOnly (Optional)
- Type: SystemBoolean
True to skip elements without the attribute
Return Value
Type:
List
See Also