mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Allow webdriver screenshots to occur immediately upon request. (#35677)
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
56fbfc9d27
commit
de66f72197
1 changed files with 1 additions and 1 deletions
|
@ -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 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 {
|
let servoshell_preferences = ServoShellPreferences {
|
||||||
user_agent: opt_match.opt_str("u"),
|
user_agent: opt_match.opt_str("u"),
|
||||||
url,
|
url,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue