'Declaration
Function GetAttribute( _ ByVal attributeName As String _ ) As String
'Usage
Dim instance As IWebElement Dim attributeName As String Dim value As String value = instance.GetAttribute(attributeName)
string GetAttribute( string attributeName )
Parameters
- attributeName
- The name of the attribute. This argument is not case sensitive.
Return Value
The value of this attribute on the element, as a string value. If the specified attribute does not exist on this element, returns an empty string.