Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capture websocket (wss) Requests? #685

Closed
aherrick opened this issue Nov 27, 2020 · 1 comment
Closed

Capture websocket (wss) Requests? #685

aherrick opened this issue Nov 27, 2020 · 1 comment

Comments

@aherrick
Copy link

Is it possible to capture the network Websocket requests that are happening on a given page? I've been able to capture web resources like:

          webView21.CoreWebView2.AddWebResourceRequestedFilter("*", CoreWebView2WebResourceContext.All);

            webView21.CoreWebView2.WebResourceRequested += CoreWebView2_WebResourceRequested;

But I don't believe that is capturing or displaying websocket requests and the corresponding response data.

@champnic
Copy link
Member

champnic commented Dec 4, 2020

Right now WebResourceRequested doesn't work with non-http/https requests. We are tracking adding this in #172, so feel free to add you scenario or more info to that issue. Thanks!

@champnic champnic closed this as completed Dec 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants