Download Latest Version v1.56.1 source code.tar.gz (37.8 MB)
Email in envelope

Get an email when there's a new version of Playwright

Home / v1.56.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-10-06 2.5 kB
v1.56.0 source code.tar.gz 2025-10-06 37.8 MB
v1.56.0 source code.zip 2025-10-06 39.9 MB
Totals: 3 Items   77.7 MB 0

Playwright Agents

Introducing Playwright Agents, three custom agent definitions designed to guide LLMs through the core process of building a Playwright test: * 🎭 planner explores the app and produces a Markdown test plan * 🎭 generator transforms the Markdown plan into the Playwright Test files * 🎭 healer executes the test suite and automatically repairs failing tests

Run npx playwright init-agents with your client of choice to generate the latest agent definitions:

:::bash
# Generate agent files for each agentic loop
# Visual Studio Code
npx playwright init-agents --loop=vscode
# Claude Code
npx playwright init-agents --loop=claude
# opencode
npx playwright init-agents --loop=opencode

Learn more about Playwright Agents

New APIs

UI Mode and HTML Reporter

  • Added option to 'html' reporter to disable the "Copy prompt" button
  • Added option to 'html' reporter and UI Mode to merge files, collapsing test and describe blocks into a single unified list
  • Added option to UI Mode mirroring the --update-snapshots options
  • Added option to UI Mode to run only a single worker at a time

Breaking Changes

Miscellaneous

  • Aria snapshots render and compare input placeholder
  • Added environment variable PLAYWRIGHT_TEST to Playwright worker processes to allow discriminating on testing status

Browser Versions

  • Chromium 141.0.7390.37
  • Mozilla Firefox 142.0.1
  • WebKit 26.0
Source: README.md, updated 2025-10-06