Contents - Index



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 anonymous fashion and the result of the script is returned as  a JSON object via the onExecuteScriptResult event.