Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions webdriver_manager/firefox.py
Original file line number Diff line number Diff line change
Expand Up @@ -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