Highlights
- High resolution screenshots (#376) —
playwright-cli screenshot --hirescaptures at the device's full pixel ratio instead of downscaling to CSS pixels. (microsoft/playwright#41465) - Secrets filtered from console logs (#41509) — configured secret values are now redacted in captured console log artifacts. (microsoft/playwright#41515)
Heads up
- The CLI now checks for updates — on startup it notifies you when a newer
@playwright/cliis available on npm. (#426) - The CLI now warns when your installed skill is out of date — if the bundled Playwright skill is newer than the one installed in your workspace, you'll be prompted to reinstall it. Re-run
playwright-cli install --skillsto update. (#427)
Fixes
fix(mcp): pass action timeout to browser_wait_for waitFor calls—wait_fornow honors the configured action timeout instead of waiting indefinitely. (microsoft/playwright#41270)fix(mcp): wait for next pause or context closure in browser_resume— resuming a paused session settles reliably. (microsoft/playwright#41293)fix(mcp): assign caps as array for legacy --vision flag— the legacy--visionflag works again. (microsoft/playwright#41253)fix(mcp): never include data: URL payloads in snapshot or network output— largedata:URLs no longer flood snapshot and network output. (microsoft/playwright#41450)fix(mcp): list a failed network request only once— failed requests are no longer duplicated in network output. (microsoft/playwright#41481)fix(mcp): check tracing state before stopping in browser_stop_tracing— stopping tracing when it is not running no longer errors. (microsoft/playwright#41040)fix(mcp): add missing .catch() on sessionLog write queue— a failed session-log write no longer crashes the session. (microsoft/playwright#41234)
(microsoft/playwright#41382)