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

Method check_error_with_driver_in_path

rust/src/lib.rs:1026–1040  ·  view source on GitHub ↗
(
        &mut self,
        is_driver_in_path: &bool,
        err: Error,
    )

Source from the content-addressed store, hash-verified

1024 }
1025
1026 fn check_error_with_driver_in_path(
1027 &mut self,
1028 is_driver_in_path: &bool,
1029 err: Error,
1030 ) -> Result<(), Error> {
1031 if *is_driver_in_path && self.is_fallback_driver_from_cache() {
1032 self.get_logger().debug_or_warn(
1033 format!("Exception managing {}: {}", self.get_browser_name(), err),
1034 self.is_offline(),
1035 );
1036 Ok(())
1037 } else {
1038 Err(err)
1039 }
1040 }
1041
1042 fn is_browser(&self, entry: &DirEntry) -> bool {
1043 if MACOS.is(self.get_os()) && !self.is_firefox() {

Callers 1

setupMethod · 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 4

debug_or_warnMethod · 0.80
is_offlineMethod · 0.80
get_loggerMethod · 0.45

Tested by

no test coverage detected