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

WKWebView logging #59

Open
vGubriienko opened this issue Nov 20, 2021 · 3 comments
Open

WKWebView logging #59

vGubriienko opened this issue Nov 20, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@vGubriienko
Copy link

What steps need to do to log WKWebView network activity?

@kean kean added the enhancement New feature or request label Apr 29, 2022
@kean
Copy link
Owner

kean commented Apr 29, 2022

There is no way to monitor WKWebView network requests using Pulse. I suggest using a network proxy or Safari Developer Tools.

@carltongibson
Copy link

@kean Can I ask, is this feasible — I see you added the Enhancement label? Do you have any early breadcrumb thoughts on what would be needed? (I may have a rummage... 🤔)

@kean
Copy link
Owner

kean commented Apr 29, 2022

I know that none of the existing approaches available in Pulse work, including Experimental.URLSessionProxy (custom URL protocol) because WKWebView performs its networking out of process.

There are many requests to bring this feature to WKWebView on forums, so there is hope.

May be worth investigating: WKURLSchemeHandler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants