We run a script to automate entering of text and logins when the page is loaded. We have have an event for when NavigationCompleted which enters the javascript, but in the developer console it looks to be blocked:

This works fine using the same method in cefsharp for instance, using the same methods, but seems to fail with WebView2.
If i try the commands direct in to the console they work fine, only when done via the ExecuteScript function.