Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
main
Function · 0.80
test_driver_url
Function · 0.80
Implementers
8
edge.rs
rust/src/edge.rs
iexplorer.rs
rust/src/iexplorer.rs
safaritp.rs
rust/src/safaritp.rs
electron.rs
rust/src/electron.rs
chrome.rs
rust/src/chrome.rs
firefox.rs
rust/src/firefox.rs
grid.rs
rust/src/grid.rs
safari.rs
rust/src/safari.rs
Calls
2
is_empty
Method · 0.80
get_config_mut
Method · 0.45
Tested by
1
test_driver_url
Function · 0.64