Too late to edit my last message...
If you remove the calls to CallFunctionString$ it does show the alert on the second page, but how else can I trigger a JS function call when the page is done loading?
* WebView2: On Load complete
Log : Add line "Load Complete " + GetNavigateURL$( "WebView2" )
the timer : Fire event "CheckResponse" after 01''-00
* On timer event "CheckResponse"
Special : Set Response to CallFunctionString$( "WebView2", "GetResponse", "result" )
Log : Add line "Response: " + Response
This should log out a line line "Response: result test" in the List box but the result is instead "Response:" -- blank string.
If the JS was invalid I'd expect the On Error condition of the WebView2 to be triggered, but it doesn't seem to be. So I'm at a loss at to what is causing these JS function calls to not work, and why attempting to use CallFunctionString$ causes the built-in JS to not load.