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:1004–1018  ·  view source on GitHub ↗
(
        &mut self,
        is_driver_in_path: &bool,
        err: Error,
    )

Source from the content-addressed store, hash-verified

1002 }
1003
1004 fn check_error_with_driver_in_path(
1005 &mut self,
1006 is_driver_in_path: &bool,
1007 err: Error,
1008 ) -> Result<(), Error> {
1009 if *is_driver_in_path && self.is_fallback_driver_from_cache() {
1010 self.get_logger().debug_or_warn(
1011 format!("Exception managing {}: {}", self.get_browser_name(), err),
1012 self.is_offline(),
1013 );
1014 Ok(())
1015 } else {
1016 Err(err)
1017 }
1018 }
1019
1020 fn is_browser(&self, entry: &DirEntry) -> bool {
1021 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