playwright-chromium
1.65.1 · 13 Nov 2026Apache-2.0348.4k / weekRepositoryHomepagenpmAtom feed
1.65.1 is the newest release of 1.x.
In short
1 breaking8 new5 changed2 internal
- Breaking
Event browserContext.on('backgroundpage') has been deprecated and will not be emitted. Method browserContext.backgroundPages() will return an empty list
Release note
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
Run npx playwright init-agents with your client of choice to generate the latest agent definitions:
# Visual Studio Code npx playwright init-agents --loop=vscode # Claude Code npx playwright init-agents --loop=claude # opencode npx playwright init-agents --loop=opencode
Note
VS Code v1.105 (currently on the VS Code Insiders channel) is needed for the agentic experience in VS Code. It will become stable shortly, we are a bit ahead of times with this functionality!
Learn more about Playwright Agents
New APIs
New methods page.consoleMessages() and page.pageErrors() for retrieving the most recent console messages from the page
New method page.requests() for retrieving the most recent network requests from the page
Added
--test-listand--test-list-invertto allow manual specification of specific tests from a file
UI Mode and HTML Reporter
Added option to
'html'reporter to disable the "Copy prompt" buttonAdded option to
'html'reporter and UI Mode to merge files, collapsing test and describe blocks into a single unified listAdded option to UI Mode mirroring the
--update-snapshotsoptionsAdded option to UI Mode to run only a single worker at a time
Breaking Changes
- Breaking
Event browserContext.on('backgroundpage') has been deprecated and will not be emitted. Method browserContext.backgroundPages() will return an empty list
Miscellaneous
Added environment variable
PLAYWRIGHT_TESTto Playwright worker processes to allow discriminating on testing status
Browser Versions
Chromium 141.0.7390.37
Mozilla Firefox 142.0.1
WebKit 26.0
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.