Is possible call ExecuteJavascript from a XojoScript?

Is there a way to call a Javascript function through a XojoScript object?
I’m trying, and it gives me error 11: Undefined identifier.
I have indicated as context the WebPage Object.

First, You would need to create a method on the page that calls into ExecuteJavascript. That said, I suspect there will be other challenges, like it may not be able to identify the session properly, but I have not tried it.

Thanks Greg. I Knowing that in theory i can, I’ll try it later. Regards.