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

Method get_browser_path_in_cache

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

Source from the content-addressed store, hash-verified

1296 }
1297
1298 fn get_browser_path_in_cache(&self) -> Result<PathBuf, Error> {
1299 Ok(self
1300 .get_cache_path()?
1301 .unwrap_or_default()
1302 .join(self.get_browser_name())
1303 .join(self.get_platform_label())
1304 .join(self.get_browser_version()))
1305 }
1306
1307 fn get_browser_version_label(&self) -> String {
1308 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