browserstack-local
Python bindings for Browserstack Local
Decision gist · record as of 2026-08-14
Yes, if you use BrowserStack for remote browser testing and need to test local or private applications. The package is actively maintained with recent releases, has low install friction, and is in the top tier of PyPI packages. However, verify the license terms before adoption, and confirm that the BrowserStack binary download mechanism works in your deployment environment.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a valid BrowserStack account and access key; the package downloads and executes a BrowserStack binary at runtime.
- Low install friction with a single runtime dependency (psutil).
- Active maintenance with a release 7 days ago and recent commits; however, the repository has modest community engagement (10 stars).
License · maintenance · safety
(unclear) — License status is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms before using in commercial or restricted contexts.
last release 2026-08-07 (7 days) · last repo commit 2026-08-12 · 10 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 403,800 downloads/mo, #6,914 on PyPI
Alternatives
Verify before relying
pip install browserstack-local
from browserstack.local import Local
bs_local = Local()
bs_local.start(key="<browserstack-accesskey>")
print(bs_local.isRunning())
bs_local.stop()- Supported Python versions are not specified in the package metadata.
- Whether the BrowserStack binary download is automatic or requires manual setup in certain environments.
- Exact system requirements or OS compatibility constraints for the bundled binary.
- Current download volume and adoption metrics beyond the top-15000 tier classification.
What it is and what it does
browserstack-local is a Python wrapper around BrowserStack's Local binary, allowing you to test web applications running on your local machine or private network using BrowserStack's remote browser infrastructure. It handles the lifecycle of the Local tunnel—starting, stopping, and monitoring the connection—so that your Selenium tests or manual browser sessions can reach localhost or internal servers as if they were publicly accessible.
The package is straightforward: you instantiate a Local object, pass your BrowserStack access key and optional modifiers (proxy settings, folder paths, logging verbosity), and call start() to establish the tunnel. It depends only on psutil for process management and automatically downloads the BrowserStack binary on first use, storing it in a standard location. Configuration is done via a dictionary of arguments, with support for proxies, local identifiers for parallel testing, and verbose logging to help debug connection issues.
Use it for
- Run Selenium tests against a local development server using BrowserStack's browser grid without exposing the server publicly.
- Test a local folder or staging environment across multiple browser versions and devices simultaneously.
- Enable CI/CD pipelines to perform cross-browser testing on private infrastructure without VPN or firewall reconfiguration.
- Debug browser compatibility issues by testing local code on real remote devices via BrowserStack.
- Support parallel local testing sessions with unique identifiers for load testing or multi-user scenarios.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use BrowserStack for remote browser testing and need to test local or private applications.
The package is actively maintained with recent releases, has low install friction, and is in the top tier of PyPI packages. However, verify the license terms before adoption, and confirm that the BrowserStack binary download mechanism works in your deployment environment.
Install
browserstack-local on PyPI
Before you install
Low install friction with a single runtime dependency (psutil). Active maintenance with a release 7 days ago and recent commits; however, the repository has modest community engagement (10 stars).
Requires a valid BrowserStack account and access key; the package downloads and executes a BrowserStack binary at runtime.
License in practice
License status is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms before using in commercial or restricted contexts.
Quickstart
pip install browserstack-local
from browserstack.local import Local
bs_local = Local()
bs_local.start(key="<browserstack-accesskey>")
print(bs_local.isRunning())
bs_local.stop()
Verify before relying
- Supported Python versions are not specified in the package metadata.
- Whether the BrowserStack binary download is automatic or requires manual setup in certain environments.
- Exact system requirements or OS compatibility constraints for the bundled binary.
- Current download volume and adoption metrics beyond the top-15000 tier classification.
Package facts
| License | Not declared unclear |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagepsutil |
| Maintenance | Actively maintained 7 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 403,800 / month, #6,914 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: browserstack_local-1.2.16-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “browserstack local testing python”
- browserstack-localProvides Python bindings to manage BrowserStack Local, enabling…
- browserstack-sdkA Python SDK for running Selenium WebDriver tests on BrowserStack's…
- pytest-seleniumpytest-selenium is a pytest plugin that integrates Selenium WebDriver…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also browserstack-sdk · pytest-selenium · selenium · wptserve · percy-selenium · splinter · choreographer · lambdatest-selenium-driver · sshtunnel · install-playwright