WebView2 c++ CallDevToolsProtocolMethod limitation
Balash, Omer
1
Reputation point
Hi all,
I am facing an issue where CallDevToolsProtocolMethod only works for me from inside the context of a WebView callback. If I try to randomly call it (from the same thread the webview was created in). it doesnt work and i get no hint as to why it is failing. GetLastError returns 0, the callback I register is not called at all to report any failure case.
Is this intended? other APIs (reload, navigate, executeScripte etc) work fine so i am not sure why this is the odd one out.
Thanks,
Omer
Sign in to answer