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 131.0.6778.33 ✅ ✅ ✅
WebKit 18.2 ✅ ✅ ✅
Firefox 132.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.49.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.49.0
File Actions
playwright-1.49.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for playwright-1.49.0-py3-none-win_amd64.whl
playwright-1.49.0-py3-none-win32.whl Python 3 none Windows x86-32 Details for playwright-1.49.0-py3-none-win32.whl
playwright-1.49.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for playwright-1.49.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
playwright-1.49.0-py3-none-manylinux1_x86_64.whl Python 3 none Linux glibc 2.5+ x86-64 Details for playwright-1.49.0-py3-none-manylinux1_x86_64.whl
playwright-1.49.0-py3-none-macosx_11_0_universal2.whl Python 3 none macOS 11.0+ universal2 (ARM64, x86-64) Details for playwright-1.49.0-py3-none-macosx_11_0_universal2.whl
playwright-1.49.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for playwright-1.49.0-py3-none-macosx_11_0_arm64.whl
playwright-1.49.0-py3-none-macosx_10_13_x86_64.whl Python 3 none macOS 10.13+ x86-64 Details for playwright-1.49.0-py3-none-macosx_10_13_x86_64.whl

Total release size: 273.8 MB

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

Download URL playwright-1.49.0-py3-none-win_amd64.whl
Size 34.0 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
34d28a2c2d46403368610be4339898dc9c34eb9f7c578207b4715c49743a072a
BLAKE2b-256 checksum
How to use checksums
0550cb04aadb200dc50c2013220dc10370a0c4024853122872c13071b4170440
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

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

Download URL playwright-1.49.0-py3-none-win32.whl
Size 34.0 MB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
91103de52d470594ad375b512d7143fa95d6039111ae11a93eb4fe2f2b4a4858
BLAKE2b-256 checksum
How to use checksums
4399328495cf8bcc98266fbe1a52f52f4d348911ed30cafd6b6eb74745ef8be5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

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

Download URL playwright-1.49.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 43.7 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
7f12d2aecdb41fc25a624cb15f3e8391c252ebd81985e3d5c1c261fe93779345
BLAKE2b-256 checksum
How to use checksums
58998570be7aca5f9b3ad5d836c33f11fe683fff2364fcfd076b6d0b5335966d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

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

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

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

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

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

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

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

Download URL playwright-1.49.0-py3-none-macosx_10_13_x86_64.whl
Size 39.5 MB
Tags Python 3 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
704532a2d8ba580ec9e1895bfeafddce2e3d52320d4eb8aa38e80376acc5cbb0
BLAKE2b-256 checksum
How to use checksums
8ab362748059c66e3ed03a6638debe01162ae631c4553504fd533f1d4841f5aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Security for playwright 1.49.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.49.0 This release

7 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
⌂ 换网址