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

Function stable_browser_test

rust/tests/stable_browser_tests.rs:30–51  ·  view source on GitHub ↗
(#[case] browser_name: String)

Source from the content-addressed store, hash-verified

28#[case("firefox")]
29#[case("edge")]
30fn stable_browser_test(#[case] browser_name: String) {
31 if OS.eq("linux") && ARCH.eq("aarch64") && !browser_name.eq("firefox") {
32 return;
33 }
34
35 let mut cmd = get_selenium_manager();
36 cmd.args([
37 "--browser",
38 &browser_name,
39 "--browser-version",
40 "stable",
41 "--output",
42 "json",
43 "--debug",
44 ])
45 .assert()
46 .success()
47 .code(0);
48
49 assert_driver(&mut cmd);
50 assert_browser(&mut cmd);
51}

Callers

nothing calls this directly

Calls 6

get_selenium_managerFunction · 0.85
assert_driverFunction · 0.85
assert_browserFunction · 0.85
codeMethod · 0.80
argsMethod · 0.80
successMethod · 0.45

Tested by

no test coverage detected