DevTools integration: Can I use Runtime.consoleAPICalled? #3902
Unanswered
OllieJones
asked this question in
Q&A
Replies: 1 comment
-
Hey @OllieJones, you would have to enable the Runtime domain via It's a little confusing that the Runtime.enable method only mentions the executionContextCreated event but it is required for any event in that domain. Hope that helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have WebView2 in my project, but not WebView.DevToolsProtocol Extension.
I use this code to get textual JSON messages from the console.*() calls in Javascript in the embedded browser.
The first stanza of code is fine. It delivers the deprecated Console.messageAdded messages.
But I don't receive the Runtime.consoleAPICalled messages. And, I can't find a way to do something similar to calling
Console.enable()
in the protocol to get those messages.Am I missing something? (Probably...) Any advice?
Beta Was this translation helpful? Give feedback.
All reactions