WebSession.ExecuteJavaScript
From Xojo Documentation
Method
WebSession.ExecuteJavaScript(Script As String)
New in 2020r1
Supported for all project types and targets.
New in 2020r1
Supported for all project types and targets.
Executes the JavaScript passed.