{"record":{"id":"2e4cd66389df5305","repo":"SeleniumHQ/selenium","slug":"linux-arm64-is-not-supported-yet-by-google-chrome","errorCode":null,"errorMessage":"Linux arm64 is not supported yet by Google Chrome. Please try another browser.","messagePattern":"Linux arm64 is not supported yet by Google Chrome\\. Please try another browser\\.","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"rust/src/chrome.rs","lineNumber":423,"sourceCode":"        let driver_version = self.get_driver_version();\n        let os = self.get_os();\n        let arch = self.get_arch();\n        let driver_label = if WINDOWS.is(os) {\n            \"win32\"\n        } else if MACOS.is(os) {\n            if ARM64.is(arch) {\n                // As of chromedriver 106, the naming convention for macOS ARM64 releases changed. See:\n                // https://groups.google.com/g/chromedriver-users/c/JRuQzH3qr2c\n                if major_driver_version < 106 {\n                    \"mac64_m1\"\n                } else {\n                    \"mac_arm64\"\n                }\n            } else {\n                \"mac64\"\n            }\n        } else if LINUX.is(os) && ARM64.is(arch) {\n            return Err(anyhow!(\n                \"Linux arm64 is not supported yet by Google Chrome. Please try another browser.\"\n            ));\n        } else {\n            \"linux64\"\n        };\n        Ok(format!(\n            \"{}{}/{}_{}.zip\",\n            self.get_driver_mirror_url_or_default(DRIVER_URL),\n            driver_version,\n            self.driver_name,\n            driver_label\n        ))\n    }\n\n    fn get_driver_path_in_cache(&self) -> Result<PathBuf, Error> {\n        Ok(compose_driver_path_in_cache(\n            self.get_cache_path()?.unwrap_or_default(),\n            self.driver_name,","sourceCodeStart":405,"sourceCodeEnd":441,"githubUrl":"https://github.com/SeleniumHQ/selenium/blob/aa36b38e696a0909e973bdf5e2f9031ffe842c4b/rust/src/chrome.rs#L405-L441","documentation":"Hard-failure in ChromeManager::get_driver_url() (the legacy URL-construction path) when the detected OS is Linux and the architecture is ARM64. Google does not publish a chromedriver build for Linux ARM64, so Selenium Manager refuses to fabricate a download URL. The message directs the user to a different browser.","triggerScenarios":"Selenium Manager runs on Linux aarch64/arm64 and falls into the driver-URL builder that has no linux_arm64 branch (only linux64). The LINUX.is(os) && ARM64.is(arch) guard at line 422 trips before any network call.","commonSituations":"Running tests inside an arm64 Docker container (e.g. Apple Silicon-hosted Linux VMs, AWS Graviton); CI on ARM64 Linux workers expecting Chrome; Raspberry Pi clusters.","solutions":["Switch the test target to an x86_64 Linux environment where chromedriver linux64 builds exist.","Use a Chromium/Chrome build that ships for arm64 and a compatible chromedriver via an external driver path (--driver-path).","Run on macOS ARM64 (M-series), where mac_arm64 chromedriver builds are available.","Use Firefox (geckodriver has arm64 support) as the browser instead."],"exampleFix":null,"handlingStrategy":"validation","validationCode":"# Bash: detect arm64 Linux before invoking Selenium Manager for Chrome\nif [ \"$(uname -s)\" = \"Linux\" ] && [ \"$(uname -m)\" = \"aarch64\" ]; then\n  echo \"Chrome/chromedriver unavailable on Linux arm64; use Firefox\"; exit 1\nfi","typeGuard":null,"tryCatchPattern":"match selenium_manager.run() {\n    Ok(path) => path,\n    Err(e) if e.to_string().contains(\"Linux arm64 is not supported yet by Google Chrome\") => {\n        eprintln!(\"Switch to a supported platform or use Firefox on arm64 Linux\");\n        std::process::exit(1);\n    }\n    Err(e) => return Err(e),\n}","preventionTips":["Run tests on x86_64 Linux or macOS ARM64 for Chrome.","Detect arm64 Linux in CI matrix setup and skip/select appropriate browsers.","Prefer Firefox when arm64 Linux is mandatory."],"tags":["rust","selenium-manager","chrome","linux","arm64","platform"],"backgroundTag":null,"analyzedSha":"aa36b38e696a0909e973bdf5e2f9031ffe842c4b","analyzedAt":"2026-08-14T02:32:32.244Z","schemaVersion":2},"datasetVersion":"2026-08-14T05:17:29.042Z"}