[Webkit-unassigned] [Bug 137612] New: Add a way to show the web inspector from code with WKWebView
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 10 08:04:57 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=137612
Summary: Add a way to show the web inspector from code with
WKWebView
Product: WebKit
Version: 525.x (Safari 3.2)
Platform: All
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: koen+bugzilla at madebysofa.com
CC: timothy at apple.com, joepeck at webkit.org,
webkit-bug-importer at group.apple.com,
graouts at webkit.org
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.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list