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 151.0.7922.34
WebKit 26.5
Firefox 153.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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

playwright-1.62.0-py3-none-win_arm64.whl (34.2 MB view details)

Uploaded Python 3Windows ARM64

playwright-1.62.0-py3-none-win_amd64.whl (38.2 MB view details)

Uploaded Python 3Windows x86-64

playwright-1.62.0-py3-none-win32.whl (38.2 MB view details)

Uploaded Python 3Windows x86

playwright-1.62.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (47.4 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

playwright-1.62.0-py3-none-manylinux1_x86_64.whl (47.7 MB view details)

Uploaded Python 3

playwright-1.62.0-py3-none-macosx_11_0_universal2.whl (43.7 MB view details)

Uploaded Python 3macOS 11.0+ universal2 (ARM64, x86-64)

playwright-1.62.0-py3-none-macosx_11_0_arm64.whl (42.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

playwright-1.62.0-py3-none-macosx_10_13_x86_64.whl (43.7 MB view details)

Uploaded Python 3macOS 10.13+ x86-64

File details

Details for the file playwright-1.62.0-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for playwright-1.62.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 ea8d3055aa9d5a9f1832ac82517bd8b42c78fac7ebcbebb0107116735c8cb6a1
MD5 6286abd5d3a21b3743f8236005644461
BLAKE2b-256 6cec06b55d619a7082a766aa04f2c6bb31435c87f02930087d8a0517119408fa

See more details on using hashes here.

File details

Details for the file playwright-1.62.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: playwright-1.62.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 38.2 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: RestSharp/106.13.0.0

File hashes

Hashes for playwright-1.62.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 92c0d98ed04eb35af557b709875edba415b1f548bdb22ddb5bb3e1e6c835c2f1
MD5 b2fbb8f75ae4c9a5d7864bee217dca9c
BLAKE2b-256 2ba94160c1033c07af98bf841ad079457dd78408a5ee0dd56cbfe50b8b6a1c22

See more details on using hashes here.

File details

Details for the file playwright-1.62.0-py3-none-win32.whl.

File metadata

  • Download URL: playwright-1.62.0-py3-none-win32.whl
  • Upload date:
  • Size: 38.2 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: RestSharp/106.13.0.0

File hashes

Hashes for playwright-1.62.0-py3-none-win32.whl
Algorithm Hash digest
SHA256 e5614fa89355d7081457680324bb219f79f69c423c5cb6fa250e30b0d8aebf1c
MD5 071107d40e203c4c1a3cd97fe871ff2a
BLAKE2b-256 8122af5d926fc2c32a339eec00a443644bc40ab9db1dd2dd9017873c59773c0c

See more details on using hashes here.

File details

Details for the file playwright-1.62.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for playwright-1.62.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 db2d76613a57ad844362ce42f7d0c2fa26b19a4f7a46d4f76b891c631e6e5aff
MD5 a1a0e381496669d13d53c85cd1cde5fa
BLAKE2b-256 3643b4b18bdc87e1949568fffdcde3ff9a0456266b2d0c6d4432cc34d89ea6eb

See more details on using hashes here.

File details

Details for the file playwright-1.62.0-py3-none-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for playwright-1.62.0-py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ba33bae6a13b3d9d354c751cb618af357d20fe1d57767cbcce52079bbef17ad3
MD5 d6c6cd65d2edd6c225405d0052c37842
BLAKE2b-256 436bb24aebc2b04bffcb342bccf96e287c78b363e1615bed5cea97500cc0393a

See more details on using hashes here.

File details

Details for the file playwright-1.62.0-py3-none-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for playwright-1.62.0-py3-none-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 5108bd5b3e87169ddf269feee097da5893af7f8aea4634dfc840518d64c1f1da
MD5 02fb371eeaa9625b71186f9da3eca4a4
BLAKE2b-256 66dcc0486b407ad0699a250f6bbe3066fca95344009a99ca66e88ca175c69dc1

See more details on using hashes here.

File details

Details for the file playwright-1.62.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for playwright-1.62.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 db755ab27db21a04186f1fe8169888e42356086e439b1059b923ef417f0b6034
MD5 6652b16954e914f82963eaadaa43c845
BLAKE2b-256 af1a0bfbe9904350961f4dbb713f04342e40d548c5fc26c8157bd13617c81492

See more details on using hashes here.

File details

Details for the file playwright-1.62.0-py3-none-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for playwright-1.62.0-py3-none-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 d8da938f3748841a8754f2e1f0216902c1c8f8ae3720de8b32ccf8e6913a7c4f
MD5 d1b33f8b2469f84957297bf94585ec33
BLAKE2b-256 6c5bca2abcf3aa69f9fb510215e3064f30b57fe57657c8d04ede45bb966d5606

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page