WebDriver: Use --allow-popups option when launching Ladybird
This prevents an "unable to find test window" error on tests that attempt to open a new window.
This commit is contained in:
parent
577a7610fb
commit
b94ec419ac
1 changed files with 2 additions and 0 deletions
|
|
@ -45,6 +45,8 @@ static ErrorOr<pid_t> launch_browser(ByteString const& socket_path)
|
|||
arguments.append(certificate_args.last().view().characters_without_null_termination());
|
||||
}
|
||||
|
||||
arguments.append("--allow-popups");
|
||||
|
||||
arguments.append("about:blank");
|
||||
|
||||
return launch_process("Ladybird"sv, arguments.span());
|
||||
|
|
|
|||
Loading…
Reference in a new issue