Attachmate.Reflection.Objects Library (Web) > WebDocument Object : GetElement Function |
HTML/BODY/TABLE/TBODY/TR[1]/TD[1]
, where WebElement index starts from zero.
Gets
the first Web element by an XPath path, relative to the current Web element.object.GetElement( _ ByVal xPath As String _ ) As _WebElement
HTML/BODY/TABLE/TBODY/TR[1]/TD[1]
, where WebElement index starts from zero.Dim WDocument As Attachmate.Reflection.Objects.Web.Msie.WebDocument
Dim WElement As Attachmate.Reflection.Objects.Web.Msie.WebElement
WElement = WDocument.GetElement("HTML/BODY/TABLE/TBODY/TR[1]/TD[1]")