Skip to content

v0.1.20

Latest

Choose a tag to compare

@yury-s yury-s released this 14 Sep 21:26
1222845

What's New

πŸŽ‰ New Commands

  • webmcp-list / webmcp-call β€” List and call the tools a page registers through the WebMCP API, letting the page do the work instead of driving its UI. When a page has WebMCP tools, the page status reports how many are available (#42613). WebMCP is experimental, see WebMCP in Chrome for how to enable it.

Other Changes

  • Headless sessions now shut down after one hour without commands, so a session an agent never closed no longer holds a browser; run open again to start a new one. Use open --idle-timeout <ms> (config timeouts.idle, env PLAYWRIGHT_MCP_IDLE_TIMEOUT) to change the timeout, 0 disables it. Headed browsers stay open, and attached browsers are only detached when attach --idle-timeout <ms> is set (#42676)
  • The skill includes a guide for attaching screenshots and videos to pull requests with gh --attach (#42645)

Bug Fixes

  • Session daemons exit when their control socket is deleted or replaced, instead of staying alive with the browser (#42454)
  • Explicitly named output files in a nested directory (e.g. screenshot --filename=sub/shot.png) no longer fail with ENOENT (#42540)
  • Video chapters and screencast overlays are no longer hidden behind open dialogs and popovers (#42642)
  • npx playwright test --debug=cli works for tests that create more than one browser context and for every test in a worker, not just the first (#42503)
  • With PLAYWRIGHT_MCP_EXTENSION_TOKEN set, attach --extension fails after 30 seconds with a hint when the extension never connects (e.g. the token belongs to another Chrome profile) instead of hanging forever (#42525)
  • Disable the Chromium sandbox by default on Linux for the bundled Chromium build, which lacks the setuid sandbox helper (#42490)

Upgrading

npm install -g @playwright/cli@0.1.20