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

Function get_stdout

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

Source from the content-addressed store, hash-verified

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