✨ Highlights
- 🎬 Smooth 60 fps, styleable videos —
video-start --fps=60records smooth 60 fps videos instead of the default 25, andvideo-start --cursorrenders an animated mouse cursor that travels to each action point and stays visible between actions.video-show-actionstakes--point-style,--highlight-styleand--title-styleCSS declarations; the action point marker and the target highlight are now only shown when styled. (microsoft/playwright#42752, microsoft/playwright#42758) - 🧰 WebMCP tools show up in the snapshot — the tools a page registers are listed at the top of the page snapshot with their descriptions and input schemas, so
webmcp-callcan be used without runningwebmcp-listfirst. Setwebmcp: falsein the config file (envPLAYWRIGHT_MCP_WEBMCP=false) to stop collecting page-registered tools. (microsoft/playwright#42671) - 🌗 Switch between light and dark color scheme (microsoft/playwright#42243) — an agent working on a dark theme had no way to see it mid-session. New
set-color-scheme,set-reduced-motion,set-forced-colors,set-contrastandset-mediacommands emulate media features on the fly, and the matchingclear-*commands reset them. (microsoft/playwright#42668) - 📁 Absolute paths in results (microsoft/playwright#42497) — links to snapshots, screenshots, console logs and downloads are relative to the working directory, which a consumer without one cannot resolve. Set
filePaths: "absolute"in the config file (envPLAYWRIGHT_MCP_FILE_PATHS=absolute) to get absolute paths instead. (microsoft/playwright#42673)
🐛 Fixes
fix(chromium): bypass service workers on the storage state page—state-saveno longer runs the site's own scripts, or fails when they redirect, for origins with an active service worker (microsoft/playwright#42656). (#42664, #42741)fix(mcp): keep upload modal, skip short secrets and bad headers— a faileduploadkeeps the file chooser open so it can be retried, secrets shorter than 4 characters no longer rewrite the whole output with<secret>markers, androuteignores header lines that have no name. (#42713)
📦 Upgrading
npm install -g @playwright/cli@0.1.21