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

Method get_browser_path_in_cache

rust/src/lib.rs:1327–1334  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1325 }
1326
1327 fn get_browser_path_in_cache(&self) -> Result<PathBuf, Error> {
1328 Ok(self
1329 .get_cache_path()?
1330 .unwrap_or_default()
1331 .join(self.get_browser_name())
1332 .join(self.get_platform_label())
1333 .join(self.get_browser_version()))
1334 }
1335
1336 fn get_browser_version_label(&self) -> String {
1337 let major_browser_version = self.get_major_browser_version();

Callers 4

download_browserMethod · 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 4

get_cache_pathMethod · 0.80
get_browser_versionMethod · 0.80
get_browser_nameMethod · 0.45
get_platform_labelMethod · 0.45

Tested by

no test coverage detected