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

Method set_arch

rust/src/lib.rs:1405–1409  ·  view source on GitHub ↗
(&mut self, arch: String)

Source from the content-addressed store, hash-verified

1403 }
1404
1405 fn set_arch(&mut self, arch: String) {
1406 if !arch.is_empty() {
1407 self.get_config_mut().arch = arch;
1408 }
1409 }
1410
1411 fn get_browser_version(&self) -> &str {
1412 self.get_config().browser_version.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