From 59b35b84f3aaeaa16d742e2e5fa0c1e5c9152792 Mon Sep 17 00:00:00 2001 From: Manuel Lemos Date: Sat, 15 Mar 2025 13:50:28 -0400 Subject: [PATCH] Support linux arm on firefox --- webdriver_manager/firefox.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/webdriver_manager/firefox.py b/webdriver_manager/firefox.py index 59e3ba38..ccc536a9 100644 --- a/webdriver_manager/firefox.py +++ b/webdriver_manager/firefox.py @@ -42,10 +42,6 @@ def install(self) -> str: def get_os_type(self): os_type = super().get_os_type() - if not self._os_system_manager.is_mac_os(os_type): - return os_type - - macos = 'macos' if self._os_system_manager.is_arch(os_type): - return f"{macos}-aarch64" - return macos + os_type = f'{self._os_system_manager.get_os_name()}{"os" if self._os_system_manager.is_mac_os(os_type) else ""}-aarch{self._os_system_manager.get_os_architecture()}' + return os_type