diff options
author | Timothy Flynn <trflynn89@pm.me> | 2022-11-21 20:03:45 -0500 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-11-24 00:10:56 +0000 |
commit | e840d27d8efbcb980507e64b677873b503b6d033 (patch) | |
tree | 4f695899b96aa3735a24e7c7b1b9b79fa4106f33 /Meta/Lagom/CMakeLists.txt | |
parent | 0135a2ab5b8e0effdb6a13b11427668c3e379972 (diff) | |
download | serenity-e840d27d8efbcb980507e64b677873b503b6d033.zip |
headless-browser: Add a mode for being controlled by WebDriver
This adds command line flags for WebDriver to pass its IPC socket path
(if running on Serenity) or its FD passing socket (if running elsewhere)
for the headless-browser to connect to.
Diffstat (limited to 'Meta/Lagom/CMakeLists.txt')
-rw-r--r-- | Meta/Lagom/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Meta/Lagom/CMakeLists.txt b/Meta/Lagom/CMakeLists.txt index a0e659bb32..5b9730a77d 100644 --- a/Meta/Lagom/CMakeLists.txt +++ b/Meta/Lagom/CMakeLists.txt @@ -460,8 +460,8 @@ if (BUILD_LAGOM) target_link_libraries(gml-format LibCore LibGUI LibMain) if (ENABLE_LAGOM_LIBWEB) - add_executable(headless-browser ../../Userland/Utilities/headless-browser.cpp) - target_link_libraries(headless-browser LibWeb LibWebSocket LibCrypto LibGemini LibHTTP LibJS LibGfx LibMain LibTLS) + add_executable(headless-browser ../../Userland/Utilities/headless-browser.cpp ../../Userland/Services/WebContent/WebDriverConnection.cpp) + target_link_libraries(headless-browser LibWeb LibWebSocket LibCrypto LibGemini LibHTTP LibJS LibGfx LibMain LibTLS LibIPC LibJS) endif() add_executable(js ../../Userland/Utilities/js.cpp) |