Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ get_os
Method
get_os
rust/src/lib.rs:1374–1376 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
1372
// ----------------------------------------------------------
1373
1374
fn get_os(&self) -> &str {
1375
self.get_config().os.as_str()
1376
}
1377
1378
fn set_os(&mut self, os: String) {
1379
if !os.is_empty() {
Callers
15
detect_browser_in_known_locations
Method · 0.80
get_driver_url
Method · 0.80
get_driver_path_in_cache
Method · 0.80
get_platform_label
Method · 0.80
request_latest_browser_version_from_online
Method · 0.80
get_browser_binary_path
Method · 0.80
get_driver_path_in_cache
Method · 0.80
get_platform_label
Method · 0.80
download_driver
Method · 0.80
download_browser
Method · 0.80
get_browser_path_from_version
Method · 0.80
detect_browser_path
Method · 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
1
get_config
Method · 0.45
Tested by
1
create_driver_in_cache
Function · 0.64