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

Method set_os

rust/src/lib.rs:1389–1393  ·  view source on GitHub ↗
(&mut self, os: String)

Source from the content-addressed store, hash-verified

1387 }
1388
1389 fn set_os(&mut self, os: String) {
1390 if !os.is_empty() {
1391 self.get_config_mut().os = os;
1392 }
1393 }
1394
1395 fn get_arch(&self) -> &str {
1396 self.get_config().arch.as_str()

Callers 4

mainFunction · 0.80
test_driver_urlFunction · 0.80
test_driver_urlFunction · 0.80
test_browser_urlFunction · 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 2

is_emptyMethod · 0.80
get_config_mutMethod · 0.45

Tested by 3

test_driver_urlFunction · 0.64
test_driver_urlFunction · 0.64
test_browser_urlFunction · 0.64