{"record":{"id":"387c48de6012d129","repo":"SeleniumHQ/selenium","slug":"not-available-for-download-387c48","errorCode":null,"errorMessage":"{} not available for download","messagePattern":"(.+?) not available for download","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"rust/src/safari.rs","lineNumber":106,"sourceCode":"\n    fn discover_browser_version(&mut self) -> Result<Option<String>, Error> {\n        self.discover_safari_version(SAFARI_FULL_PATH.to_string())\n    }\n\n    fn get_driver_name(&self) -> &str {\n        self.driver_name\n    }\n\n    fn request_driver_version(&mut self) -> Result<String, Error> {\n        Ok(\"(local)\".to_string())\n    }\n\n    fn request_browser_version(&mut self) -> Result<Option<String>, Error> {\n        Ok(None)\n    }\n\n    fn get_driver_url(&mut self) -> Result<String, Error> {\n        Err(anyhow!(format!(\n            \"{} not available for download\",\n            self.get_driver_name()\n        )))\n    }\n\n    fn get_driver_path_in_cache(&self) -> Result<PathBuf, Error> {\n        Ok(PathBuf::from(\"/usr/bin/safaridriver\"))\n    }\n\n    fn get_config(&self) -> &ManagerConfig {\n        &self.config\n    }\n\n    fn get_config_mut(&mut self) -> &mut ManagerConfig {\n        &mut self.config\n    }\n\n    fn set_config(&mut self, config: ManagerConfig) {","sourceCodeStart":88,"sourceCodeEnd":124,"githubUrl":"https://github.com/SeleniumHQ/selenium/blob/aa36b38e696a0909e973bdf5e2f9031ffe842c4b/rust/src/safari.rs#L88-L124","documentation":"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).","triggerScenarios":"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.","commonSituations":"A Selenium Manager flow erroneously tried to download safaridriver; a custom integration called get_driver_url directly on the Safari manager.","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."],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":["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."],"tags":["safari","download","selenium-manager"],"backgroundTag":null,"analyzedSha":"aa36b38e696a0909e973bdf5e2f9031ffe842c4b","analyzedAt":"2026-08-14T02:32:32.244Z","schemaVersion":2},"datasetVersion":"2026-08-14T05:17:29.042Z"}