From 1c15e470bf0139c3bbaafba0d53f24f4879f9a6b Mon Sep 17 00:00:00 2001 From: "Yash D. Saraf" Date: Tue, 3 Mar 2026 14:03:09 +0530 Subject: [PATCH 1/2] LOC-5083: Add support for Linux arm64 binary Detect arm64 architecture via platform.machine() == 'aarch64' and download BrowserStackLocal-linux-arm64 binary. This check is placed before the generic is_64bits check to avoid arm64 falling through to the x64 path. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- browserstack/local_binary.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/browserstack/local_binary.py b/browserstack/local_binary.py index fa65f34..13144fa 100644 --- a/browserstack/local_binary.py +++ b/browserstack/local_binary.py @@ -24,6 +24,8 @@ def __init__(self, key, error_object=None): elif osname == 'Linux': if self.is_alpine(): self.http_path = source_url + "BrowserStackLocal-alpine" + elif platform.machine() == 'aarch64': + self.http_path = source_url + "BrowserStackLocal-linux-arm64" else: if is_64bits: self.http_path = source_url + "BrowserStackLocal-linux-x64" From 5afc4462c1607be14a7091a0df9d970fe54b68d3 Mon Sep 17 00:00:00 2001 From: "Yash D. Saraf" Date: Tue, 3 Mar 2026 14:15:39 +0530 Subject: [PATCH 2/2] 1.2.13 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 6b0617c..77d13f9 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name = 'browserstack-local', packages = ['browserstack'], - version = '1.2.12', + version = '1.2.13', description = 'Python bindings for Browserstack Local', long_description=open('README.md').read(), long_description_content_type='text/markdown',