MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / invalid_geckodriver_version_test

Function invalid_geckodriver_version_test

rust/tests/browser_tests.rs:100–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98
99#[test]
100fn invalid_geckodriver_version_test() {
101 let mut cmd = get_selenium_manager();
102 let result = cmd
103 .args([
104 "--browser",
105 "firefox",
106 "--browser-version",
107 "51",
108 "--avoid-browser-download",
109 ])
110 .assert()
111 .try_success();
112
113 assert_output(
114 &mut cmd,
115 result,
116 vec!["Not valid geckodriver version found"],
117 DATAERR,
118 );
119}
120
121#[rstest]
122#[case(

Callers

nothing calls this directly

Calls 3

get_selenium_managerFunction · 0.85
assert_outputFunction · 0.85
argsMethod · 0.80

Tested by

no test coverage detected