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

Method execute_which_in_shell

rust/src/lib.rs:723–728  ·  view source on GitHub ↗
(&self, arg: &str)

Source from the content-addressed store, hash-verified

721 }
722
723 fn execute_which_in_shell(&self, arg: &str) -> Option<String> {
724 match which(arg) {
725 Ok(path) => Some(path_to_string(&path)),
726 Err(_) => None,
727 }
728 }
729
730 fn get_first_in_vector(&self, vector: Vec<&str>) -> Option<String> {
731 if vector.is_empty() {

Callers 2

find_browser_in_pathMethod · 0.80
find_driver_in_pathMethod · 0.80

Implementers 8

edge.rsrust/src/edge.rs
iexplorer.rsrust/src/iexplorer.rs
safaritp.rsrust/src/safaritp.rs
electron.rsrust/src/electron.rs
chrome.rsrust/src/chrome.rs
firefox.rsrust/src/firefox.rs
grid.rsrust/src/grid.rs
safari.rsrust/src/safari.rs

Calls 1

path_to_stringFunction · 0.85

Tested by

no test coverage detected