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

Function shell_output_test

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

Source from the content-addressed store, hash-verified

91
92#[test]
93fn shell_output_test() {
94 let mut cmd = get_selenium_manager();
95 cmd.args([
96 "--browser",
97 if is_linux_arm64() {
98 "firefox"
99 } else {
100 "chrome"
101 },
102 "--output",
103 "shell",
104 ])
105 .assert()
106 .success()
107 .code(0);
108
109 let stdout = get_stdout(&mut cmd);
110 assert!(stdout.contains(DRIVER_PATH));
111}
112
113#[test]
114fn 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