ZennoLab Assemblies Documentation
GetHtmlElement Method
ZennoLab.CommandCenter Namespace > Tab Class : GetHtmlElement Method

Type: System.String

The document address.

Type: System.String

The form number.

Type: System.String

The tag of the html element.

Type: System.String[]

The search parameters.

Searches the html element by specified parameters.
Syntax
public HtmlElement GetHtmlElement( 
   string doc,
   string form,
   string tag,
   string[] parameters
)

Parameters

doc

Type: System.String

The document address.

form

Type: System.String

The form number.

tag

Type: System.String

The tag of the html element.

parameters

Type: System.String[]

The search parameters.

Return Value

Type: Zennolab.CommandCenter.HtmlElement

The first element that matches the conditions defined by the parameters, if found; otherwise, the result is void.

Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

Tab Class
Tab Members
FindElementByAttribute Method
FindElementById Method
FindElementByName Method
FindElementByTag Method
FindElementByXPath Method
FindElementsByAttribute Method
FindElementsById Method
FindElementsByName Method
FindElementsByTags Method
FindElementsByXPath Method
GetElementFromPoint Method