microsoft/playwright-python
Python version of the Playwright testing and automation library. observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 98
- Release rhythm 83
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 39.5
- age_days: 2254
- days_rel: 33
- days_push: 13
- n_releases_24m: 17
Adoption not part of the score
14952 stars · 1217 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Playwright for Python is a library to automate Chromium, Firefox, and WebKit browsers with a single API, supporting both sync and async Python. It is designed for reliable end-to-end testing of modern web apps and general-purpose browser automation, with an official Pytest plugin and a codegen test recorder.
Use cases
- run end-to-end tests for a web app in python
- automate browser interactions across chromium firefox and webkit
- scrape dynamic web pages rendered with javascript
- take screenshots of web pages programmatically
- generate tests by recording browser actions
- test web apps on ci across multiple browsers
- emulate mobile devices in browser tests
When to choose
- you need cross-browser e2e testing from python with sync or async apis
- you want reliable automation with auto-waiting and resilient locators
- you need headless or headed browser automation on linux, macos, or windows
- you want to record tests with codegen or use a pytest plugin
When to avoid
- you only need simple http-level requests without a browser
- your team primarily works in javascript, .net, or java where native playwright bindings may fit better
- you need a full test runner with parallelism and sharding out of the box, which is the node.js Playwright Test rather than the python library
Facets
library · maturity stable
e2e-testing testing web-scraping workflow-automation browser-extension testing web-development developer-tools python windows cli playwright browser-automation chromium firefox webkit pytest-plugin web-scraping headless-browser sync-and-async automation linux macos
10 sources
- readme: https://github.com/microsoft/playwright-python · fetched 2026-08-28 · 5f20e6c83c65
- homepage: https://playwright.dev/python/ · fetched 2026-08-29 · 9d5a0afe5894
- site_page: https://playwright.dev/python/docs/intro · fetched 2026-08-29 · 5c5822e2deaa
- site_page: https://playwright.dev/python/docs/api/class-playwright · fetched 2026-08-29 · c97addf75d7e
- site_page: https://playwright.dev/docs/intro · fetched 2026-08-29 · ca82f3fc94fd
- site_page: https://playwright.dev/dotnet/docs/intro · fetched 2026-08-29 · a6ef7805c7ac
- site_page: https://playwright.dev/java/docs/intro · fetched 2026-08-29 · 67158ea3c0a4
- site_page: https://playwright.dev/python/docs/getting-started-cli · fetched 2026-08-29 · b996195fd626
- site_page: https://playwright.dev/python/docs/getting-started-mcp · fetched 2026-08-29 · 4c3f2ead6f67
- site_page: https://playwright.dev/python/docs/codegen · fetched 2026-08-29 · c555992043b8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| microsoft/playwright-python | main | 93 |
For agents
markdown · JSON · MCP: product_card(name="microsoft/playwright-python")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem