v0.1.21
microsoft/playwright-cliv0.1.21Sep 18, 2026by pavelfeldman
Upgrading?
AI Summary
This release introduces smooth 60 fps video recording with customizable styles, improves WebMCP tool visibility by listing them in snapshots, and adds commands to switch between light and dark color schemes. It also fixes issues with service workers and adds a configuration option for absolute paths.
Key Highlights
- Smooth 60 fps video recording with customizable styles and an animated mouse cursor.
- WebMCP tools now appear in the page snapshot automatically, eliminating the need to run `webmcp-list` first.
- New commands allow switching between light and dark color schemes and emulating media features like reduced motion.
- Configuration option to output absolute paths for snapshots, screenshots, and logs.
New Features
- 60 fps video recording support (`video-start --fps=60`)
- Animated mouse cursor rendering in videos (`video-start --cursor`)
- CSS styling for action points and highlights in video playback
- WebMCP tools visibility in page snapshots
- Media feature emulation commands (`set-color-scheme`, `set-reduced-motion`, `set-forced-colors`, `set-contrast`, `set-media`)
- Absolute path configuration for result files (`filePaths: 'absolute'`)
Full Release Notes
## ✨ Highlights - **🎬 Smooth 60 fps, styleable videos** — `video-start --fps=60` records smooth 60 fps videos instead of the default 25, and `video-start --cursor` renders an animated mouse cursor that travels to each action point and stays visible between actions. `video-show-actions` takes `--point-style`, `--highlight-style` and `--title-style` CSS declarations; the action point marker and the target highlight are now only shown when styled. ([microsoft/playwright#42752](https://github.com/microsoft/playwright/pull/42752), [microsoft/playwright#42758](https://github.com/microsoft/playwright/pull/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-call` can be used without running `webmcp-list` first. Set `webmcp: false` in the config file (env `PLAYWRIGHT_MCP_WEBMCP=false`) to stop collecting page-registered tools. ([microsoft/playwright#42671](https://github.com/microsoft/playwright/pull/42671)) - **🌗 Switch between light and dark color scheme** ([microsoft/playwright#42243](https://github.com/microsoft/playwright/issues/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-contrast` and `set-media` commands emulate media features on the fly, and the matching `clear-*` commands reset them. ([microsoft/playwright#42668](https://github.com/microsoft/playwright/pull/42668)) - **📁 Absolute paths in results** ([microsoft/playwright#42497](https://github.com/microsoft/playwright/issues/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 (env `PLAYWRIGHT_MCP_FILE_PATHS=absolute`) to get absolute paths instead. ([microsoft/playwright#42673](https://github.com/microsoft/playwright/pull/42673)) ## 🐛 Fixes - `fix(chromium): bypass service workers on the storage state page` — `state-save` no longer runs the site's own scripts, or fails when they redirect, for origins with an active service worker ([microsoft/playwright#42656](https://github.com/microsoft/playwright/issues/42656)). ([#42664](https://github.com/microsoft/playwright/pull/42664), [#42741](https://github.com/microsoft/playwright/pull/42741)) - `fix(mcp): keep upload modal, skip short secrets and bad headers` — a failed `upload` keeps the file chooser open so it can be retried, secrets shorter than 4 characters no longer rewrite the whole output with `<secret>` markers, and `route` ignores header lines that have no name. ([#42713](https://github.com/microsoft/playwright/pull/42713)) ## 📦 Upgrading ```bash npm install -g @playwright/cli@0.1.21 ```
Related Repositories
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
Interactive roadmaps, guides and other educational content to help developers grow in their careers.
Reverse engineer anything with agents, from app behavior down to native binaries.
The open source coding agent.
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.