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

Method set_timeout

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

Source from the content-addressed store, hash-verified

1552 }
1553
1554 fn set_timeout(&mut self, timeout: u64) -> Result<(), Error> {
1555 if timeout != REQUEST_TIMEOUT_SEC {
1556 self.get_config_mut().timeout = timeout;
1557 self.get_logger()
1558 .debug(format!("Using timeout of {} seconds", timeout));
1559 self.update_http_client()?;
1560 }
1561 Ok(())
1562 }
1563
1564 fn update_http_client(&mut self) -> Result<(), Error> {
1565 let proxy = self.get_proxy();

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

update_http_clientMethod · 0.80
get_config_mutMethod · 0.45
debugMethod · 0.45
get_loggerMethod · 0.45

Tested by

no test coverage detected