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

Method get_driver_path_in_cache

rust/src/grid.rs:212–222  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

210 }
211
212 fn get_driver_path_in_cache(&self) -> Result<PathBuf, Error> {
213 let browser_name = self.get_browser_name();
214 let driver_name = self.get_driver_name();
215 let driver_version = self.get_driver_version();
216 Ok(self
217 .get_cache_path()?
218 .unwrap_or_default()
219 .join(browser_name)
220 .join(driver_version)
221 .join(format!("{driver_name}-{driver_version}.{GRID_EXTENSION}")))
222 }
223
224 fn get_config(&self) -> &ManagerConfig {
225 &self.config

Callers

nothing calls this directly

Calls 4

get_driver_versionMethod · 0.80
get_cache_pathMethod · 0.80
get_browser_nameMethod · 0.45
get_driver_nameMethod · 0.45

Tested by

no test coverage detected