Reflection
GetElementsByTagName Method (IWebElement)


The name of the tag whose WebElement objects you want to retrieve.
Gets a collection of elements in the HTML WebDocument by HTML. tagName.
Syntax
'Declaration
 
Function GetElementsByTagName( _
   ByVal tagName As String _
) As IWebElement()
'Usage
 
Dim instance As IWebElement
Dim tagName As String
Dim value() As IWebElement
 
value = instance.GetElementsByTagName(tagName)
IWebElement[] GetElementsByTagName( 
   string tagName
)

Parameters

tagName
The name of the tag whose WebElement objects you want to retrieve.

Return Value

A collection containing all elements whose HTML tag name is equal to tagName.
See Also