install-playwright
Execute `playwright install` from Python
Decision gist · record as of 2026-08-14
Yes, if you use Playwright and need to install browsers programmatically from Python code rather than via shell commands. The package is actively maintained, has no security issues, and solves a real friction point in Playwright workflows. Install it if you're building applications or tools where you want to manage browser setup as part of your Python initialization logic.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; playwright must be installed separately as a runtime dependency.
- Active maintenance with a recent release (7 days ago) and no known vulnerabilities.
- Low install friction with a single runtime dependency on playwright.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open and closed projects with minimal obligations.
last release 2026-08-07 (7 days) · last repo commit 2026-08-07 · 9 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 626,051 downloads/mo, #5,692 on PyPI
Alternatives
Verify before relying
pip install install-playwright
from install_playwright import install
from playwright.sync_api import sync_playwright
with sync_playwright() as p:
install([p.chromium])
browser = p.chromium.launch()- Whether the package handles all Playwright browser types or only a subset
- Whether it supports async and sync contexts equally or has known limitations in either mode
- Whether it works with Playwright versions beyond the current release cycle
What it is and what it does
install-playwright wraps Playwright's CLI installation command to make it callable from within Python code. Instead of running `playwright install` as a shell command before or alongside your script, you import the install function and call it directly with the browser types you need, passing them as a list. This is useful when you want to programmatically ensure browser binaries are available at runtime—for instance, in containerized deployments, CI/CD pipelines, or applications that dynamically provision Playwright environments.
The package supports both sync and async Playwright workflows. It depends only on playwright itself and requires Python 3.10 or later. The codebase is actively maintained and carries no known security vulnerabilities.
Use it for
- Ensure Playwright browser binaries are installed during application startup without relying on external shell commands.
- Automate browser setup in CI/CD pipelines where you want to manage Playwright installation from within Python test code.
- Deploy Playwright-based applications in containers where you need to install browsers as part of the runtime initialization.
- Build tools or frameworks that wrap Playwright and need to guarantee browser availability before launching automation.
- Simplify onboarding for users who want to use Playwright without manually running CLI setup steps.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use Playwright and need to install browsers programmatically from Python code rather than via shell commands.
The package is actively maintained, has no security issues, and solves a real friction point in Playwright workflows. Install it if you're building applications or tools where you want to manage browser setup as part of your Python initialization logic.
Install
install-playwright on PyPI
Before you install
Active maintenance with a recent release (7 days ago) and no known vulnerabilities. Low install friction with a single runtime dependency on playwright.
Requires Python 3.10 or later; playwright must be installed separately as a runtime dependency.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open and closed projects with minimal obligations.
Quickstart
pip install install-playwright
from install_playwright import install
from playwright.sync_api import sync_playwright
with sync_playwright() as p:
install([p.chromium])
browser = p.chromium.launch()
Verify before relying
- Whether the package handles all Playwright browser types or only a subset
- Whether it supports async and sync contexts equally or has known limitations in either mode
- Whether it works with Playwright versions beyond the current release cycle
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageplaywright |
| Maintenance | Actively maintained 7 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 626,051 / month, #5,692 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonTyping :: Typed |
Evidence: install_playwright-1.0.2-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 › “playwright browser installation python”
- install-playwrightProvides a Python function to execute the Playwright browser…
- robotframework-browserBrowser automation library for Robot Framework that uses Playwright…
- playwrightAutomate Chromium, Firefox, and WebKit browsers via a single Python…
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 playwright · rebrowser-playwright · pytest-playwright-asyncio · scrapy-playwright · hyperbrowser · pytest-playwright · testmuai-playwright-bindings · tf-playwright-stealth · playwright-stealth · patchright