Universal-Playwright for python
universal-playwright is a binary-free and platform-agnostic distribution of Microsoft’s playwright for python. It is a drop-in alternative that extends playwright compatibility to virtually all platforms, including those not supported by the original (e.g., Alpine Linux, non-glibc based systems, etc.).
To achieve its platform independence, universal-playwright relies on a system-provided NodeJS backend. This makes for a lightweight source-only (python/typescript) distribution, unlike the original playwright, which carries an embedded NodeJS binary driver known for its limited platform availability.
pip install universal-playwright
The release version (x.y.z.?) of universal-playwright, minus a possible 4th identifier, matches the corresponding release version (x.y.z) of Microsoft’s playwright for python. For example, universal-playwright 1.64.1.post1 matches the release of playwright 1.64.1
🎭 Playwright for Python

Playwright is a Python library to automate Chromium, Firefox and WebKit browsers with a single API. Playwright delivers automation that is ever-green, capable, reliable and fast. See how Playwright is better.
| Linux | macOS | Windows | |
|---|---|---|---|
| Chromium 156.0.8078.4 | ✅ | ✅ | ✅ |
| WebKit 27.2 | ✅ | ✅ | ✅ |
| Firefox 157.0 | ✅ | ✅ | ✅ |
Documentation
https://playwright.dev/python/docs/intro
API Reference
https://playwright.dev/python/docs/api/class-playwright
Example
from playwright.sync_api import sync_playwright
with sync_playwright() as p:
for browser_type in [p.chromium, p.firefox, p.webkit]:
browser = browser_type.launch()
page = browser.new_page()
page.goto('http://playwright.dev')
page.screenshot(path=f'example-{browser_type.name}.png')
browser.close()
import asyncio
from playwright.async_api import async_playwright
async def main():
async with async_playwright() as p:
for browser_type in [p.chromium, p.firefox, p.webkit]:
browser = await browser_type.launch()
page = await browser.new_page()
await page.goto('http://playwright.dev')
await page.screenshot(path=f'example-{browser_type.name}.png')
await browser.close()
asyncio.run(main())
Other languages
More comfortable in another programming language? Playwright is also available in
Metadata
Release files for universal-playwright 1.64.1.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| universal_playwright-1.64.1.post1-py3-none-any.whl | Python 3 | none | any | Details for universal_playwright-1.64.1.post1-py3-none-any.whl |
Release files / universal_playwright-1.64.1.post1-py3-none-any.whl
| Download URL | universal_playwright-1.64.1.post1-py3-none-any.whl |
|---|---|
| Size | 3.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0988cfdab0f76bf1042aa815d645506232a1b079a502af3709d647d5c07b233d
|
|
BLAKE2b-256 checksum How to use checksums |
6461acdbbae1b45da762c866868a398ee8d2b8d7b8011656e9693c755fef8c69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logSecurity for universal-playwright 1.64.1.post1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
1 file in this release has been uploaded with provenance metadata.
Attestation for universal_playwright-1.64.1.post1-py3-none-any.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.