Pythie
CategoriesTrending
An open index of Python tools.Pythie’s IndexLegal noticePrivacyData: PyPI (package metadata; download statistics under CC BY 4.0, via ClickHouse), deps.dev (CC BY 4.0), GitHub, OSV.

playwright

1.65.2ActivePythie’s Index: 89

A high-level API to automate web browsers

Actively maintained. Last release 2 weeks ago, commits in 20 of the last 26 weeks. A safe choice.

Web Scraping & AutomationTesting
$pip install playwright
microsoft/playwright-pythonPyPI

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

LinuxmacOSWindows
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

  • Node.js (JavaScript / TypeScript),
  • .NET,
  • Java.

Popularity

Downloads / month
141.5M
GitHub stars
15.1K
Downloads, last 7 days
34.2M
Stars, last 7 days
–
Direct dependents
2.8K
All dependents
3.4K

Pythie’s Index

How it works
89

Healthy

Maintenance, out of 100

  • Recent release

    last release 15 days ago

  • Commit activity

    20/26 weeks with commits

  • Release cadence

    12 releases in 12 months

  • Issues & PRs handled

    92% closed in the past year

  • Contributor spread

    7 authors in last 100 commits

  • OpenSSF Scorecard

    5.7/10

Commits, last 26 weeks174

Releases

Latest
1.65.2
Released
Nov 14, 2026
Releases, 12 months
12
First release
Feb 24, 2021

Compatibility

Requires Python
>=3.10
Tested on
3.10 · 3.11 · 3.12 · 3.13 · 3.14
License
Apache-2.0 (Permissive)

Keywords

playwrightchromiumfirefoxwebkit

Alternatives

Use instead of playwright: tools that do the same job, closest first.

Compare with patchright →Compare with pydoll-python →Compare with pyppeteer →Compare all 4 →

  • patchright1.64.4ActivePythie’s Index: 85

    Undetected Python version of the Playwright testing and automation library.

    Web Scraping & AutomationTesting1.6K5.2M/moReleased Nov 2, 2026
  • pydoll-python3.0.1ActivePythie’s Index: 84

    Pydoll is a library for automating chromium-based browsers without a WebDriver, offering realistic interactions.

    Web Scraping & AutomationAsync & Concurrency–88.7K/moReleased Nov 8, 2026
  • pyppeteer2.0.0StalePythie’s Index: 20

    Headless chrome/chromium automation library (unofficial port of puppeteer)

    Web Scraping & AutomationTesting3.9K698.3K/moReleased Feb 18, 2024
  • selenium4.54.0ActivePythie’s Index: 81

    Official Python bindings for Selenium WebDriver

    Web Scraping & AutomationTesting34.6K28.8M/moReleased Nov 23, 2026
  • splinter0.21.0StalePythie’s Index: 18

    browser abstraction for web acceptance testing

    TestingWeb Scraping & Automation2.7K299.5K/moReleased Jan 16, 2024
  • DrissionPage4.1.1.4ActivePythie’s Index: 77

    Python based web automation tool. It can control the browser and send and receive data packets.

    Web Scraping & AutomationHTTP & Networking–169.9K/moReleased Aug 20, 2026

Works well with

Use together with playwright: extensions, drivers, servers and companion tools.

  • camoufoxPythie’s Index: 88Wrapper around Playwright to help launch Camoufox1.2M downloads/mo
  • pytest-playwrightPythie’s Index: 81A pytest wrapper with fixtures for Playwright to automate web browsers13.5M downloads/mo
  • stagehandPythie’s Index: 83Browserbase's SDK for building browser agents1.8M downloads/mo
  • playwright-stealthPythie’s Index: 46Make your playwright instance stealthy3.1M downloads/mo
  • scrapy-playwrightPythie’s Index: 72Playwright integration for Scrapy1.5M downloads/mo
  • crawleePythie’s Index: 87Crawlee for Python1.2M downloads/mo