What's New
Tool Improvements
browser_take_screenshot— WebP format — Newtypeoption to pick the image format (png,jpegorwebp); when unset, the format is inferred from the filename extension (#41152)--codegen— more languages — Code generation now supportspython,javaandcsharpin addition totypescript(#42106)- Configurable settle delay — New
--timeout-settleflag (andtimeouts.settleconfig option) to control how long to wait after each action for triggered work (navigations, requests) to settle, defaults to 500ms (#41924)
Fixes
- Aria snapshot capture is skipped when the response discards it (#41923)
- New
--snapshot-boxesflag (andsnapshot.boxesconfig option) to enable bounding boxes in snapshots globally — previously this was only available per command (#42102) - Reconnect to the browser after a disconnect (#41966)
- Report malformed JSON config instead of silently falling back to INI parsing (#41909)
- Clear the dialog modal state when a dialog is closed out of band (#42032)
- Detect downloads via the download event instead of guessing from
net::ERR_ABORTEDnavigation errors (#41933) - Surface the missing executable path when a browser isn't installed (#41941)
- Escape user input in codegen output (#41962)
- Removed the stale
--output-modeCLI option (#41833)
Browser Extension
- Validate
HostandOriginheaders on CDP relay WebSocket upgrades (#42103) - Launch the Chrome profile that has the extension installed (#41939)
- Pass
noDefaultsfor extension CDP connections (#42119) - Mention
PLAYWRIGHT_MCP_EXECUTABLE_PATHin the error shown when the browser executable is not found (#42122) - Removed support for extension protocol v1 (#41857)