Skip to main content

🎭 Playwright for Python PyPI version Anaconda version Join Discord

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 143.0.7499.4 ✅ ✅ ✅
WebKit 26.0 ✅ ✅ ✅
Firefox 144.0.2 ✅ ✅ ✅

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 playwright 1.57.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for playwright 1.57.0
File Actions
playwright-1.57.0-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for playwright-1.57.0-py3-none-win_arm64.whl
playwright-1.57.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for playwright-1.57.0-py3-none-win_amd64.whl
playwright-1.57.0-py3-none-win32.whl Python 3 none Windows x86-32 Details for playwright-1.57.0-py3-none-win32.whl
playwright-1.57.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for playwright-1.57.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
playwright-1.57.0-py3-none-manylinux1_x86_64.whl Python 3 none Linux glibc 2.5+ x86-64 Details for playwright-1.57.0-py3-none-manylinux1_x86_64.whl
playwright-1.57.0-py3-none-macosx_11_0_universal2.whl Python 3 none macOS 11.0+ universal2 (ARM64, x86-64) Details for playwright-1.57.0-py3-none-macosx_11_0_universal2.whl
playwright-1.57.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for playwright-1.57.0-py3-none-macosx_11_0_arm64.whl
playwright-1.57.0-py3-none-macosx_10_13_x86_64.whl Python 3 none macOS 10.13+ x86-64 Details for playwright-1.57.0-py3-none-macosx_10_13_x86_64.whl

Total release size: 322.4 MB

Release files / playwright-1.57.0-py3-none-win_arm64.whl

Download URL playwright-1.57.0-py3-none-win_arm64.whl
Size 32.8 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
5f065f5a133dbc15e6e7c71e7bc04f258195755b1c32a432b792e28338c8335e
BLAKE2b-256 checksum
How to use checksums
6a60fe31d7e6b8907789dcb0584f88be741ba388413e4fbce35f1eba4e3073de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / playwright-1.57.0-py3-none-win_amd64.whl

Download URL playwright-1.57.0-py3-none-win_amd64.whl
Size 36.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
6caefb08ed2c6f29d33b8088d05d09376946e49a73be19271c8cd5384b82b14c
BLAKE2b-256 checksum
How to use checksums
58d4dcdfd2a33096aeda6ca0d15584800443dd2be64becca8f315634044b135b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / playwright-1.57.0-py3-none-win32.whl

Download URL playwright-1.57.0-py3-none-win32.whl
Size 36.6 MB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
1dd93b265688da46e91ecb0606d36f777f8eadcf7fbef12f6426b20bf0c9137c
BLAKE2b-256 checksum
How to use checksums
e4093fc9ebd7c95ee54ba6a68d5c0bc23e449f7235f4603fc60534a364934c16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / playwright-1.57.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL playwright-1.57.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 45.7 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
38a1bae6c0a07839cdeaddbc0756b3b2b85e476c07945f64ece08f1f956a86f1
BLAKE2b-256 checksum
How to use checksums
83d7b72eb59dfbea0013a7f9731878df8c670f5f35318cedb010c8a30292c118
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / playwright-1.57.0-py3-none-manylinux1_x86_64.whl

Download URL playwright-1.57.0-py3-none-manylinux1_x86_64.whl
Size 46.0 MB
Tags Linux glibc 2.5+ x86-64 Python 3
SHA-256 checksum
How to use checksums
284ed5a706b7c389a06caa431b2f0ba9ac4130113c3a779767dda758c2497bb1
BLAKE2b-256 checksum
How to use checksums
56613a803cb5ae0321715bfd5247ea871d25b32c8f372aeb70550a90c5f586df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / playwright-1.57.0-py3-none-macosx_11_0_universal2.whl

Download URL playwright-1.57.0-py3-none-macosx_11_0_universal2.whl
Size 42.0 MB
Tags Python 3 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
99104771abc4eafee48f47dac2369e0015516dc1ce8c409807d2dd440828b9a4
BLAKE2b-256 checksum
How to use checksums
60bd5563850322a663956c927eefcf1457d12917e8f118c214410e815f2147d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / playwright-1.57.0-py3-none-macosx_11_0_arm64.whl

Download URL playwright-1.57.0-py3-none-macosx_11_0_arm64.whl
Size 40.8 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a4a9d65027bce48eeba842408bcc1421502dfd7e41e28d207e94260fa93ca67e
BLAKE2b-256 checksum
How to use checksums
8b04ef95b67e1ff59c080b2effd1a9a96984d6953f667c91dfe9d77c838fc956
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / playwright-1.57.0-py3-none-macosx_10_13_x86_64.whl

Download URL playwright-1.57.0-py3-none-macosx_10_13_x86_64.whl
Size 42.0 MB
Tags Python 3 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
9351c1ac3dfd9b3820fe7fc4340d96c0d3736bb68097b9b7a69bd45d25e9370c
BLAKE2b-256 checksum
How to use checksums
edb6e17543cea8290ae4dced10be21d5a43c360096aa2cce0aa7039e60c50df3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Security for playwright 1.57.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

1.57.0 This release

8 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page
⌂ 换网址