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: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
main
Function · 0.80
test_driver_url
Function · 0.80
test_driver_url
Function · 0.80
test_browser_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
3
test_driver_url
Function · 0.64
test_driver_url
Function · 0.64
test_browser_url
Function · 0.64