Playwright
Reliable end-to-end testing and browser automation framework for modern web apps.
Overview
Playwright is a browser automation and testing framework that drives Chromium, Firefox, and WebKit through one API, usable from end-to-end tests, standalone automation scripts, or as a tool AI agents can call. Playwright Test, its full-featured test runner, runs tests in parallel across browsers with full isolation (each test gets a fresh browser context), auto-waiting for elements to become actionable, and web-first assertions that retry automatically instead of relying on fixed timeouts.
Locators are designed to mirror how a user perceives the page (by role, label, placeholder, or test id) rather than brittle CSS selectors, and on failure you get traces, screenshots, and video you can inspect step-by-step in the Trace Viewer. Beyond testing, Playwright also ships a CLI aimed at coding agents (Claude Code, Copilot) and an MCP server for LLM-driven browser automation, plus a VS Code extension for authoring and debugging tests.
It's a fit for teams that need reliable, cross-browser end-to-end tests, as well as projects that need programmatic or AI-driven browser automation.
- Categories
- Developer ToolsTesting
- Languages
- TypeScript
- License
- Apache-2.0
Related Projects
Crawlee
Apache-2.0Node.js and TypeScript library for web scraping and browser automation, built to produce reliable crawlers that resist bot detection.
- Developer Tools
Cypress
MITJavaScript end-to-end testing framework built for the modern web with fast, reliable testing.
- Testing
n8n
Sustainable Use LicenseWorkflow automation platform that lets you connect apps and services with a visual, node-based editor.
- Automation
- Developer Tools
Scrapy
BSD-3-ClauseFast, high-level Python web scraping and crawling framework for extracting structured data from websites.
- Developer Tools
Spotted an error? Suggest an edit on GitHub.