SeleniumHQ/selenium · error · anyhow::Error
{} not available for download
Error message
{} not available for download What it means
Returned by SafariManager::get_driver_url(). safaridriver ships with macOS and is never downloaded, so the method is a hard error by design. The placeholder is the driver name (safaridriver).
Source
Thrown at rust/src/safari.rs:106
fn discover_browser_version(&mut self) -> Result<Option<String>, Error> {
self.discover_safari_version(SAFARI_FULL_PATH.to_string())
}
fn get_driver_name(&self) -> &str {
self.driver_name
}
fn request_driver_version(&mut self) -> Result<String, Error> {
Ok("(local)".to_string())
}
fn request_browser_version(&mut self) -> Result<Option<String>, Error> {
Ok(None)
}
fn get_driver_url(&mut self) -> Result<String, Error> {
Err(anyhow!(format!(
"{} not available for download",
self.get_driver_name()
)))
}
fn get_driver_path_in_cache(&self) -> Result<PathBuf, Error> {
Ok(PathBuf::from("/usr/bin/safaridriver"))
}
fn get_config(&self) -> &ManagerConfig {
&self.config
}
fn get_config_mut(&mut self) -> &mut ManagerConfig {
&mut self.config
}
fn set_config(&mut self, config: ManagerConfig) {View on GitHub (pinned to aa36b38e69)
Solutions
- Use the local safaridriver at /usr/bin/safaridriver (enable it via sudo safaridriver --enable on newer macOS).
- Do not request a download for Safari; rely on the OS-bundled driver.
- If this surfaces through a binding, report it as Selenium Manager routing the Safari manager into the download step incorrectly.
Defensive patterns
Strategy: fallback
Prevention
- Treat Safari as local-only: enable sudo safaridriver --enable and use the OS-bundled binary.
- Do not wire Safari into any download/manager flow.
- If this error surfaces, report it as incorrect routing in Selenium Manager.
When it happens
Trigger: Any code path that calls get_driver_url() on the SafariManager (safari.rs:105-110), which should normally be skipped because get_driver_path_in_cache() points at /usr/bin/safaridriver.
Common situations: A Selenium Manager flow erroneously tried to download safaridriver; a custom integration called get_driver_url directly on the Safari manager.
Related errors
- {} not available for download
- Unsuccessful response ({}) for URL {}
- Error parsing JSON from URL {} {}
- Format for file {} cannot be inferred
- Wrong browser/driver version
AI-assisted analysis of SeleniumHQ/selenium@aa36b38e69 (2026-08-14).
Data as JSON: /api/errors/387c48de6012d129.
Report an issue: GitHub.