Contents - Index - Top


ElementClickByName

Interface AntViewDocument

 

Type: Method

Parameters: String Name

Returns: nothing

 

 

Executes the click event for the first html element which has an attribute "name" that is equal to the value in the parameter Name.

Name is case sensitive.

 

As the request is run asynchronously, the return status of the click is returned in the OnElementClickByName event.

 

Note that multiple elements can match the name passed. If this is the case then only the first element that matches the name will be clicked on.

 

There's also a synchronous alternative ElementClickByNameSync that wraps this method and the event into one call.

 

Introduced in AntView release 1.1.375

 


AntView - The MS Edge WebView2 ActiveX control Date last changed: 09/25/2024