mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:38:10 +00:00
Ladybird/WebDriver: Support running headless WebDriver sessions
This adds a dependency from WebDriver to Lagom's headless-browser to be used if the client's required capabilities indicate to do so.
This commit is contained in:
parent
69cd0d6599
commit
a1e380cc38
5 changed files with 46 additions and 11 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
#define AK_DONT_REPLACE_STD
|
||||
|
||||
#include "../Utilities.h"
|
||||
#include <LibCore/ArgsParser.h>
|
||||
#include <LibCore/EventLoop.h>
|
||||
#include <LibCore/System.h>
|
||||
|
@ -36,6 +37,8 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
return 1;
|
||||
}
|
||||
|
||||
platform_init();
|
||||
|
||||
Core::EventLoop loop;
|
||||
auto server = TRY(Core::TCPServer::try_create());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue