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

Method assert_online_or_err

rust/src/lib.rs:1151–1156  ·  view source on GitHub ↗
(&self, message: &str)

Source from the content-addressed store, hash-verified

1149 }
1150
1151 fn assert_online_or_err(&self, message: &str) -> Result<(), Error> {
1152 if self.is_offline() {
1153 return Err(anyhow!(format_one_arg(message, self.get_driver_name())));
1154 }
1155 Ok(())
1156 }
1157
1158 fn get_driver_name_with_extension(&self) -> String {
1159 format!(

Callers 7

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 1

is_offlineMethod · 0.80

Tested by

no test coverage detected