diff --git a/ports/servoshell/prefs.rs b/ports/servoshell/prefs.rs index abd1628cd30..466458a45a9 100644 --- a/ports/servoshell/prefs.rs +++ b/ports/servoshell/prefs.rs @@ -539,6 +539,10 @@ pub(crate) fn parse_command_line_arguments(args: Vec) -> ArgumentParsing preferences.devtools_server_port = port; } + if opt_match.opt_present("webdriver") { + preferences.dom_testing_html_input_element_select_files_enabled = true; + } + let parse_resolution_string = |string: String| { let components: Vec = string .split('x') diff --git a/python/servo/try_parser.py b/python/servo/try_parser.py index 3c097eab34a..242dde37518 100644 --- a/python/servo/try_parser.py +++ b/python/servo/try_parser.py @@ -117,7 +117,6 @@ def handle_preset(s: str) -> Optional[JobConfig]: wpt_args=" ".join( [ "./tests/wpt/tests/webdriver/tests/classic/", - "--pref=dom_testing_html_input_element_select_files_enabled", "--product servodriver", "--headless", ]