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

Function get_stdout

rust/tests/common.rs:95–100  ·  view source on GitHub ↗
(cmd: &mut Command)

Source from the content-addressed store, hash-verified

93
94#[allow(dead_code)]
95pub fn get_stdout(cmd: &mut Command) -> String {
96 let stdout = &cmd.unwrap().stdout;
97 let output = std::str::from_utf8(stdout).unwrap();
98 println!("{}", output);
99 output.to_string()
100}
101
102#[allow(dead_code)]
103pub fn get_stderr(cmd: &mut Command) -> String {

Callers 10

offline_testFunction · 0.85
assert_driverFunction · 0.85
config_testFunction · 0.85
grid_latest_testFunction · 0.85
grid_version_testFunction · 0.85
browser_version_testFunction · 0.85
browser_path_testFunction · 0.85
json_output_testFunction · 0.85
shell_output_testFunction · 0.85
mixed_output_testFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected