WebDriver: Use correct WebDriver IPC path argument name

Previously, the incorrect name for this argument  was being used when
attempting to launch `headless-browser`.
This commit is contained in:
Tim Ledbetter 2024-08-01 20:13:03 +01:00 committed by Tim Flynn
parent ce5f2861d8
commit ae51fbd5de
Notes: github-actions[bot] 2024-08-01 20:41:11 +00:00
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ static ErrorOr<pid_t> launch_headless_browser(ByteString const& socket_path)
Array {
"--resources",
resources.characters(),
"--webdriver-ipc-path",
"--webdriver-content-path",
socket_path.characters(),
"about:blank",
});

View file

@ -28,7 +28,7 @@ static ErrorOr<pid_t> 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",
});