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 140.0.7339.16 ✅ ✅ ✅
WebKit 26.0 ✅ ✅ ✅
Firefox 141.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 playwright 1.55.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.55.0
File Actions
playwright-1.55.0-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for playwright-1.55.0-py3-none-win_arm64.whl
playwright-1.55.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for playwright-1.55.0-py3-none-win_amd64.whl
playwright-1.55.0-py3-none-win32.whl Python 3 none Windows x86-32 Details for playwright-1.55.0-py3-none-win32.whl
playwright-1.55.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for playwright-1.55.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
playwright-1.55.0-py3-none-manylinux1_x86_64.whl Python 3 none Linux glibc 2.5+ x86-64 Details for playwright-1.55.0-py3-none-manylinux1_x86_64.whl
playwright-1.55.0-py3-none-macosx_11_0_universal2.whl Python 3 none macOS 11.0+ universal2 (ARM64, x86-64) Details for playwright-1.55.0-py3-none-macosx_11_0_universal2.whl
playwright-1.55.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for playwright-1.55.0-py3-none-macosx_11_0_arm64.whl
playwright-1.55.0-py3-none-macosx_10_13_x86_64.whl Python 3 none macOS 10.13+ x86-64 Details for playwright-1.55.0-py3-none-macosx_10_13_x86_64.whl

Total release size: 312.9 MB

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

Download URL playwright-1.55.0-py3-none-win_arm64.whl
Size 31.2 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
012dc89ccdcbd774cdde8aeee14c08e0dd52ddb9135bf10e9db040527386bd76
BLAKE2b-256 checksum
How to use checksums
21985ca173c8ec906abde26c28e1ecb34887343fd71cc4136261b90036841323
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

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

Download URL playwright-1.55.0-py3-none-win_amd64.whl
Size 35.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
7eb5956473ca1951abb51537e6a0da55257bb2e25fc37c2b75af094a5c93736c
BLAKE2b-256 checksum
How to use checksums
464f9ba607fa94bb9cee3d4beb1c7b32c16efbfc9d69d5037fa85d10cafc618b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

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

Download URL playwright-1.55.0-py3-none-win32.whl
Size 35.5 MB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
29e6d1558ad9d5b5c19cbec0a72f6a2e35e6353cd9f262e22148685b86759f90
BLAKE2b-256 checksum
How to use checksums
062e9db64518aebcb3d6ef6cd6d4d01da741aff912c3f0314dadb61226c6a96a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

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

Download URL playwright-1.55.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 45.3 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
29a0777c4ce1273acf90c87e4ae2fe0130182100d99bcd2ae5bf486093044838
BLAKE2b-256 checksum
How to use checksums
8383b8d06a5b5721931aa6d5916b83168e28bd891f38ff56fe92af7bdee9860f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

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

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

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

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

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

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

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

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

Security for playwright 1.55.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.55.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
⌂ 换网址