playwright · PyPI Skip to main content

🎭 Playwright for Python PyPI 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 159.0.8154.6 ✅ ✅ ✅
WebKit 27.2 ✅ ✅ ✅
Firefox 159.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.65.2

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

Source distribution (sdist)

Source distribution for playwright 1.65.2
File Size Uploaded Provenance Actions
playwright-1.65.2.tar.gz 10.2 MB With provenance Details for playwright-1.65.2.tar.gz

Built distributions (wheels)

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

Total release size: 390.1 MB

Release files / playwright-1.65.2.tar.gz

Download URL playwright-1.65.2.tar.gz
Size 10.2 MB
Tags Source
SHA-256 checksum
How to use checksums
8b031f81de9cdbe8550d8fe8b58dba47d96239e53177ee4cd47dab0fff07a87e
BLAKE2b-256 checksum
How to use checksums
b933151d28773e930d0d438b73e5dcd29b418da65150f9ad05ddd772b275395e
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 Nov 14, 2026.

Transparency log

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

Download URL playwright-1.65.2-py3-none-win_arm64.whl
Size 38.4 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
33a224fba3fb72c5fa7eda49535b265c292f1fb87949c769754f9fcd0f5be2de
BLAKE2b-256 checksum
How to use checksums
3efeac7ee06f2a674f51577c4fa3690151e3c9147510cc1e08c8ad69eef35c03
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 Nov 14, 2026.

Transparency log

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

Download URL playwright-1.65.2-py3-none-win_amd64.whl
Size 42.7 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
d0aec9e1c97b6f497f3d9f2ad6e1b7f299968e61239d71f100298b0690f3c776
BLAKE2b-256 checksum
How to use checksums
519bf071a3f3250017941a9d0ae27b8fe4deb141ce37b6b9fa176ff5bf8f34df
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 Nov 14, 2026.

Transparency log

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

Download URL playwright-1.65.2-py3-none-win32.whl
Size 42.7 MB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
4476703bcdd1a2db06f5db5136af7c02552b1bb519d5fa4b94a8eead2a6a41ba
BLAKE2b-256 checksum
How to use checksums
7ae79fa224de4a94d7754a0654b369170fa5069274036061d0393b3a2f6a6c17
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 Nov 14, 2026.

Transparency log

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

Download URL playwright-1.65.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 53.1 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
dd3e54b6a926fc6510f272797eec0707dc34ae04d564e74a7056c4a813e53270
BLAKE2b-256 checksum
How to use checksums
e8eb378dbf6da1a76aea9aa9ec3f39b60a03651a8f32ce8b7ca5a8a890b4d21c
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 Nov 14, 2026.

Transparency log

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

Download URL playwright-1.65.2-py3-none-manylinux1_x86_64.whl
Size 53.5 MB
Tags Linux glibc 2.5+ x86-64 Python 3
SHA-256 checksum
How to use checksums
58932d35f56767ab7ebcdd3d4a733bfb3e62a1a5bc43c08e28b9fa9b3e61cf33
BLAKE2b-256 checksum
How to use checksums
dec32fc4b7da0496401ecf35c3fba50235e7f2cdbe141b42be83eb2d93f08fc5
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 Nov 14, 2026.

Transparency log

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

Download URL playwright-1.65.2-py3-none-macosx_11_0_universal2.whl
Size 50.3 MB
Tags Python 3 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
3bb758e12b963bf32f7fba5c4b86994f060126feb32d47f236589f53fe09746f
BLAKE2b-256 checksum
How to use checksums
4f2968e20008d28e39778c724d69f28b19177a6a39539ea488aa0df9d4f26718
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 Nov 14, 2026.

Transparency log

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

Download URL playwright-1.65.2-py3-none-macosx_11_0_arm64.whl
Size 48.8 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2e03da7fd7cd6ea92d22524be147e5803649ab0ae9b362b9a78efa869c2f57c7
BLAKE2b-256 checksum
How to use checksums
effe0a7f9109a7fd33631b271893fc311928dc568d1a5f3b3b3f18b90ed95561
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 Nov 14, 2026.

Transparency log

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

Download URL playwright-1.65.2-py3-none-macosx_10_13_x86_64.whl
Size 50.3 MB
Tags Python 3 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
99dd0de21173375cded45f4e26a9e19b862d748b06cbb11376313758cedc220e
BLAKE2b-256 checksum
How to use checksums
9daa17f3761bf5ef3f900a395b8962aa273736ec949e8d644f246e9094a8f071
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 Nov 14, 2026.

Transparency log

Security for playwright 1.65.2

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

All 9 files in this release have been uploaded with provenance metadata.

Select from 9 files

Attestation for playwright-1.65.2.tar.gz

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 Nov 14, 2026.

Transparency log

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.65.2 This release

9 release files Full 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