Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

Recording WKWebView

I am trying to record the requests and responses in a WKWebView, but instruments does not seem to record them. Is this to be expected?

The webView is set to inspectable, and I am using the HTTP Traffic instrument.

All the requests the app is doing are recorded, but neither the original request for the webView, nor subsequent traffic is recorded.

When I use Safari to inspect the webView, all I see is the last page (even when I start the inspector before the first request is made).

How can I see these requests?

Recording WKWebView
 
 
Q