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

Method get_driver_url

rust/src/electron.rs:214–227  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

212 }
213
214 fn get_driver_url(&mut self) -> Result<String, Error> {
215 if self.driver_url.is_some() {
216 return Ok(self.driver_url.as_ref().unwrap().to_string());
217 }
218
219 Ok(format!(
220 "{}download/v{}/{}-v{}-{}.zip",
221 self.get_driver_mirror_url_or_default(DRIVER_URL),
222 self.get_driver_version(),
223 CHROMEDRIVER_NAME,
224 self.get_driver_version(),
225 self.get_platform_label()
226 ))
227 }
228
229 fn get_driver_path_in_cache(&self) -> Result<PathBuf, Error> {
230 Ok(compose_driver_path_in_cache(

Callers 1

test_driver_urlFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_driver_urlFunction · 0.36