1
Fork 0
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:
Timothy Flynn 2022-11-22 08:09:55 -05:00 committed by Andrew Kaster
parent 69cd0d6599
commit a1e380cc38
5 changed files with 46 additions and 11 deletions

View file

@ -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());