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

Method set_os

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

Source from the content-addressed store, hash-verified

1376 }
1377
1378 fn set_os(&mut self, os: String) {
1379 if !os.is_empty() {
1380 self.get_config_mut().os = os;
1381 }
1382 }
1383
1384 fn get_arch(&self) -> &str {
1385 self.get_config().arch.as_str()

Callers 2

mainFunction · 0.80
test_driver_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 1

test_driver_urlFunction · 0.64