Skip to content

Compatibility for geckodriver aarch64 #3154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 21, 2024
Merged
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
12 changes: 10 additions & 2 deletions seleniumbase/console_scripts/sb_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,10 +578,18 @@ def main(override=None, intel_for_uc=None, force_uc=None):
else:
invalid_run_command()
if IS_MAC:
file_name = "geckodriver-%s-macos.tar.gz" % use_version
if IS_ARM_MAC:
file_name = "geckodriver-%s-macos-aarch64.tar.gz" % use_version
else:
file_name = "geckodriver-%s-macos.tar.gz" % use_version
elif IS_LINUX:
if "64" in ARCH:
file_name = "geckodriver-%s-linux64.tar.gz" % use_version
if "aarch64" in platform.processor():
file_name = (
"geckodriver-%s-linux-aarch64.tar.gz" % use_version
)
else:
file_name = "geckodriver-%s-linux64.tar.gz" % use_version
else:
file_name = "geckodriver-%s-linux32.tar.gz" % use_version
elif IS_WINDOWS:
Expand Down