How can I pop up Webkit's Web Inspector from my WebView object programmatically?

后端 未结 3 1755
我在风中等你
我在风中等你 2020-12-28 10:07

How can I pop up Webkit\'s Web Inspector from my WebView object programmatically?

I succeed to enable Webkit\'s Web Inspector on my WebView. It\'s working well, and

3条回答
  •  执笔经年
    2020-12-28 10:55

    There is no public API for interacting with the WebInspector via the DOM or Cocoa. You should file an enhancement request at https://bugreport.apple.com/ asking for this API.

    InspectorController is also an internal implementation detail of the WebInspector and its likely a bug that its on the documentation website.

提交回复
热议问题