WebElementAttribute Method
Gets the attribute value.

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax
VB Usage
Dim instance As WebElement
Dim attribute As String
Dim returnValue As Object

returnValue = instance.Attribute(attribute)

Parameters

attribute
Type: SystemString
Attribute name

Return Value

Type: Object
Attribute
See Also