The Web Inspector is a Javascript UI which uses data provided by Webkit, which runs a server to provide this information to the front-end UI via JSON-RPC through a web socket.In Chrome you can specify a port for this by starting it up like so:$ Chrome --remote-debugging-port=9222and then open another browser window with http://localhost:9222 and access the developer tools. You can even observe the web socket data as it is transferred back and forth.If you embedded Chrome into an app, you'd be able to connect to the embedded Chrome using a web socket and get ready access to a whole range of data (this is documented at http://chromedevtools.github.io/debugger-protocol-viewer/).I'm trying to find out whether this is possible from a WkWebView. In other words, can an app containing a WkWebView get access to the web inspector raw data?