Skip to content

Commit

Permalink
WebDriver: Use correct WebDriver IPC path argument name
Browse files Browse the repository at this point in the history
Previously, the incorrect name for this argument  was being used when
attempting to launch `headless-browser`.
  • Loading branch information
tcl3 committed Aug 1, 2024
1 parent ce5f286 commit 0ef8f2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Ladybird/WebDriver/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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",
});
Expand Down
2 changes: 1 addition & 1 deletion Userland/Services/WebDriver/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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",
});
Expand Down

0 comments on commit 0ef8f2a

Please sign in to comment.