aboutsummaryrefslogtreecommitdiffstats
path: root/ports/servoshell/prefs.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2025-02-26 10:45:19 -0500
committerGitHub <noreply@github.com>2025-02-26 15:45:19 +0000
commitde66f721974d6c3fd5b49be64d7b0752351d2393 (patch)
treec40c80d4500f146936f31ec0f409a382ad124168 /ports/servoshell/prefs.rs
parent56fbfc9d277218631cc2a68498dbc8e9f54b2479 (diff)
downloadservo-de66f721974d6c3fd5b49be64d7b0752351d2393.tar.gz
servo-de66f721974d6c3fd5b49be64d7b0752351d2393.zip
Allow webdriver screenshots to occur immediately upon request. (#35677)
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
Diffstat (limited to 'ports/servoshell/prefs.rs')
-rw-r--r--ports/servoshell/prefs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/servoshell/prefs.rs b/ports/servoshell/prefs.rs
index fc29a414c79..afd82de1be3 100644
--- a/ports/servoshell/prefs.rs
+++ b/ports/servoshell/prefs.rs
@@ -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,