WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
137612
Add a way to show the web inspector from code with WKWebView
https://bugs.webkit.org/show_bug.cgi?id=137612
Summary
Add a way to show the web inspector from code with WKWebView
Koen Bok
Reported
2014-10-10 08:04:52 PDT
There does not seem to be a way to show the web inspector from code. The current only way is to right click in the WKWebView and select "Inspect Element" from the menu. This used to be pretty easy with the old WebView: WebInspector *inspector = [[WebInspector alloc] initWithWebView:webView]; [inspector showConsole:self]; I would love some simple way like [webView showInspector:] or private like [webView _showInspector:] I know it should probably possible today by calling some internal methods, but I haven't been able to figure that out. Hints would be really appreciated.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2014-10-10 08:05:22 PDT
<
rdar://problem/18610236
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug