Pulse icon indicating copy to clipboard operation
Pulse copied to clipboard

WKWebView logging

Open vGubriienko opened this issue 3 years ago • 3 comments

What steps need to do to log WKWebView network activity?

vGubriienko avatar Nov 20 '21 11:11 vGubriienko

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

kean avatar Apr 29 '22 02:04 kean

@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... 🤔)

carltongibson avatar Apr 29 '22 06:04 carltongibson

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.

kean avatar Apr 29 '22 13:04 kean