Bug 166679 (gtk-webdriver)
Summary: | [GTK][META] WebDriver implementation | ||
---|---|---|---|
Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | bugs-noreply, clopez, don.olmstead, lmoura, loic.yhuel, mcatanzaro, olivier.blin, ross.kirsling, zan |
Priority: | P2 | Keywords: | Gtk |
Version: | WebKit Local Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 174612, 184967, 226134, 233391, 166680, 166682, 171428, 172060, 174613, 174614, 174615, 174616, 174617, 174618, 174672, 175183, 175184, 217174, 217177, 217206, 217217, 217222, 217223, 217819, 217950, 217951, 218279, 218382, 218383, 219024 | ||
Bug Blocks: |
Carlos Garcia Campos
This is a meta bug to track all the changes needed to add a WebDriver implementation for WebKitGTK+. To reuse as much as possible what WebKit already implements, we first need to switch our remote web inspector to use ENABLE_REMOTE_INSPECTOR instead of ENABLE_INSPECTOR_SERVER. Then we need to add web driver process and some API for the parts browsers need to implement.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Michael Catanzaro
Is this eventually going to obsolete Metrological's WebDriver implementation for WPE (https://github.com/Metrological/webdriver), or are we only implementing this for GTK and not WPE for now?
Carlos Garcia Campos
The WebDriver implementation is 95% cross-platform. For the GTK+ port we have a few bits of libsoup for the HTTP server implementation and GTK part (GTK as in GTK port, not that GTK+ is used at all) just to launch the browser and handle some specific capabilities like enabling/disabling overlay scrollbars in tests. So, only that part would be needed in WPE in the WebDriver implementation itself. However, it uses the remote inspector mechanism for the communication with the browser, so WPE would need to switch to use remote inspector, but they prefer to stay with the legacy web sockets approach. Maybe it's possible to use both at the same time, and use the remote inspector only for automation.
Olivier Blin
We are also working on another implementation of WebDriver in WPE, using ENABLE_INSPECTOR_SERVER and WebAutomation APIs.
This is based on Metrological's WebDriver, reworked to remove an extra IPC layer and use WebAutomation.
Remote inspector is not suitable for most WPE end-users and set-top box web developers, since it requires a very similar WebKit browser to run the inspector frontend.
Would it really be possible to enable both remote/server inspectors at the same time?