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

Method set_timeout

rust/src/lib.rs:1584–1592  ·  view source on GitHub ↗
(&mut self, timeout: u64)

Source from the content-addressed store, hash-verified

1582 }
1583
1584 fn set_timeout(&mut self, timeout: u64) -> Result<(), Error> {
1585 if timeout != REQUEST_TIMEOUT_SEC {
1586 self.get_config_mut().timeout = timeout;
1587 self.get_logger()
1588 .debug(format!("Using timeout of {} seconds", timeout));
1589 self.reset_http_client();
1590 }
1591 Ok(())
1592 }
1593
1594 fn is_insecure(&self) -> bool {
1595 self.get_config().insecure

Callers 1

mainFunction · 0.45

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

reset_http_clientMethod · 0.80
get_config_mutMethod · 0.45
debugMethod · 0.45
get_loggerMethod · 0.45

Tested by

no test coverage detected