We'd like to extend the inspector protocol with capabilities to * discover all existing targets and connect to them when the application is launched with a flag * create/delete ephemeral browsing contexts * create new pages in specified context This would allow us to build rich automation tooling similar to what is available for Chrome and partially Firefox (see https://pptr.dev/).
Created attachment 382871 [details] initial implementation
Created attachment 382932 [details] initial implementation
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API This patch modifies the inspector protocol. Please ensure that any frontend changes appropriately use feature checks for new protocol features.
Created attachment 382938 [details] initial implementation, fixed mac build
Created attachment 382943 [details] initial implementation
Created attachment 382978 [details] initial implementation
Comment on attachment 382978 [details] initial implementation Clearing r? because this patch is a year old, and now conflicts with an existing Browser.json added since then. Please rebase and send again if interested in continuing this work.