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

Function exec_driver

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

Source from the content-addressed store, hash-verified

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