1
Fork 0
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:
Sam Atkins 2022-10-12 10:50:33 +01:00 committed by Linus Groh
parent ec9c11667f
commit 8c0f1da9f7
6 changed files with 129 additions and 1 deletions

View file

@ -0,0 +1,9 @@
#include <AK/URL.h>
endpoint WebDriverSessionClient {
quit() =|
get_url() => (URL url)
set_url(URL url) =|
get_title() => (String title)
}