mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:57:35 +00:00
LibWeb+WebDriver: Support running headless WebDriver sessions
This adds an "extension capability" for clients to indicate that a headless browser should be used for the session.
This commit is contained in:
parent
e840d27d8e
commit
7edd57dc87
6 changed files with 76 additions and 15 deletions
|
@ -71,6 +71,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
outln("Listening on {}:{}", ipv4_address.value(), port);
|
||||
|
||||
TRY(Core::System::unveil("/bin/Browser", "rx"));
|
||||
TRY(Core::System::unveil("/bin/headless-browser", "rx"));
|
||||
TRY(Core::System::unveil("/etc/timezone", "r"));
|
||||
TRY(Core::System::unveil("/res/icons", "r"));
|
||||
TRY(Core::System::unveil("/tmp/webdriver", "rwc"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue