mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:57:45 +00:00
Browser: Add a basic WebDriver API
This adds a new option "--webdriver" that opens a local unix socket in /tmp/browser_{pid} which the WebDriver server can use to send commands to the Browser instance. Co-authored-by: Florent Castelli <florent.castelli@gmail.com>
This commit is contained in:
parent
ec9c11667f
commit
8c0f1da9f7
6 changed files with 129 additions and 1 deletions
9
Userland/Applications/Browser/WebDriverSessionClient.ipc
Normal file
9
Userland/Applications/Browser/WebDriverSessionClient.ipc
Normal file
|
@ -0,0 +1,9 @@
|
|||
#include <AK/URL.h>
|
||||
|
||||
endpoint WebDriverSessionClient {
|
||||
quit() =|
|
||||
|
||||
get_url() => (URL url)
|
||||
set_url(URL url) =|
|
||||
get_title() => (String title)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue