Context Menu, Inspect Element, Web Inspector
Is it possible to display the WebKit Web Inspector for debugging the DOM and JavaScript? In Chrome it's displayed from "Inspect element" on the context menu.
I don't see any context menu in CefWebBrowser. I don't see anything in the API for context menus, web inspector or developer tools.
If this isn't possible is there another way to debug the HTML and JavaScript?
Thanks for any help, and congratulations on a promising project!
It is possible with latest CEF-s, see on latest builds/samples of CEF. But, i think, that CefSharp, will needed some improvements for this.
As fddima says, it's possible, we just need to expose it. It's on the TODO pile.
Is this one still on the todo list? If so, is there quick hack I can do on my box to get at it today? If not, I'm happy to take a shot at exposing this myself, if you could suggest some similar examples I might model it off of in the existing codebase. Thanks very much for running such a useful project.
I know @fddima has exposed this functionality with his CefGlue project, that's definitely worth checking out. Might also be available in @ataranto's branch, if not it shouldn't be that hard to add, perhaps @fddima could describe what would be involved, as far as I'm aware it's just providing the right resource files in the working directory and making a CEF API call.
@chillitom @oconnor663 CEF doesn't expose "Inspect Element" functionality at all (in CEF only 'standard' context menus are works). But CEF allow loading developer tools as well, in most cases it will be enough. If someone interested in concrete feature like "inspect element" (i.e. loading dev tools with positioned element under cursor) - then you will needed go to CEF forum/issue tracker, 'cause current CEF API doesn't provide this.