From 0ef8f2a0b2ce5a4ab7fe6f43a3394b9983df30c5 Mon Sep 17 00:00:00 2001 From: Tim Ledbetter Date: Thu, 1 Aug 2024 20:13:03 +0100 Subject: [PATCH] WebDriver: Use correct WebDriver IPC path argument name Previously, the incorrect name for this argument was being used when attempting to launch `headless-browser`. --- Ladybird/WebDriver/main.cpp | 2 +- Userland/Services/WebDriver/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Ladybird/WebDriver/main.cpp b/Ladybird/WebDriver/main.cpp index 4ca05b0364db..844efa6d8185 100644 --- a/Ladybird/WebDriver/main.cpp +++ b/Ladybird/WebDriver/main.cpp @@ -62,7 +62,7 @@ static ErrorOr launch_headless_browser(ByteString const& socket_path) Array { "--resources", resources.characters(), - "--webdriver-ipc-path", + "--webdriver-content-path", socket_path.characters(), "about:blank", }); diff --git a/Userland/Services/WebDriver/main.cpp b/Userland/Services/WebDriver/main.cpp index 746b8e7297e2..0486cee48a97 100644 --- a/Userland/Services/WebDriver/main.cpp +++ b/Userland/Services/WebDriver/main.cpp @@ -28,7 +28,7 @@ static ErrorOr launch_headless_browser(ByteString const& socket_path) { return Core::Process::spawn("/bin/headless-browser"sv, Array { - "--webdriver-ipc-path", + "--webdriver-content-path", socket_path.characters(), "about:blank", });