Contents - Index - Top


ExecuteScript

Interface AntView 

 

Type: Method

Parameters: String sScript

Returns: nothing

 

 

Runs Javascript passed in the parameter sScript in the document currently rendered by the WebView2 control.

This can be anything such as a single javascript command or even a javascript function.

 

The script is then run in an asynchronous fashion and the result of the script is returned as a JSON object via the OnExecuteScript event.

 


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