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

Function shell_output_test

rust/tests/output_tests.rs:55–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53
54#[test]
55fn shell_output_test() {
56 let mut cmd = get_selenium_manager();
57 cmd.args([
58 "--browser",
59 if is_linux_arm64() {
60 "firefox"
61 } else {
62 "chrome"
63 },
64 "--output",
65 "shell",
66 ])
67 .assert()
68 .success()
69 .code(0);
70
71 let stdout = get_stdout(&mut cmd);
72 assert!(stdout.contains(DRIVER_PATH));
73}
74
75#[test]
76fn mixed_output_test() {

Callers

nothing calls this directly

Calls 6

get_selenium_managerFunction · 0.85
is_linux_arm64Function · 0.85
get_stdoutFunction · 0.85
codeMethod · 0.80
argsMethod · 0.80
successMethod · 0.45

Tested by

no test coverage detected