Allow webdriver screenshots to occur immediately upon request. (#35677)

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
Josh Matthews 2025-02-26 10:45:19 -05:00 committed by GitHub
parent 56fbfc9d27
commit de66f72197
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -583,7 +583,7 @@ pub(crate) fn parse_command_line_arguments(args: Vec<String>) -> ArgumentParsing
}
let exit_after_load = opt_match.opt_present("x") || output_image_path.is_some();
let wait_for_stable_image = exit_after_load || webdriver_port.is_some();
let wait_for_stable_image = exit_after_load;
let servoshell_preferences = ServoShellPreferences {
user_agent: opt_match.opt_str("u"),
url,