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

Function exec_driver

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

Source from the content-addressed store, hash-verified

82
83#[allow(dead_code)]
84pub fn exec_driver(cmd: &mut Command) -> String {
85 let cmd_mut = cmd.borrow_mut();
86 let driver_path = get_driver_path(cmd_mut);
87 let driver_version_command =
88 shell::Command::new(&driver_path, vec![String::from(DASH_DASH_VERSION)]);
89 let output = run_shell_command(driver_version_command).unwrap();
90 println!("**** EXEC DRIVER: {}", output);
91 output
92}
93
94#[allow(dead_code)]
95pub fn get_stdout(cmd: &mut Command) -> String {

Callers 1

exec_driver_testFunction · 0.85

Calls 2

get_driver_pathFunction · 0.85
run_shell_commandFunction · 0.85

Tested by

no test coverage detected