Skip to content

v0.1.16

Choose a tag to compare

@yury-s yury-s released this 09 Jul 19:01
22d98af

Highlights

  • Search a large snapshot instead of capturing the whole thing — the new find command searches the page snapshot for text or a regexp and returns just the matching nodes with surrounding context (like grep -C), keeping big pages out of the model context. (microsoft/playwright#41605, microsoft/playwright#41654)
  • Mobile emulationopen --mobile emulates a generic mobile device (Pixel for Chromium, iPhone for WebKit) and --device="iPhone 15" targets a specific one; mobile pages are usually lighter, so snapshots are smaller and cheaper. (microsoft/playwright#41657)
  • Leaner snapshots — AI snapshots are distilled to be less verbose, cutting token cost on every command that returns page state. (microsoft/playwright#41604)
  • Local invocation via npx playwright cli — the CLI is now exposed as playwright cli (and playwright mcp), so a locally installed Playwright can drive it without a separate global install. (microsoft/playwright#41577)

Fixes

  • feat(mcp): surface non-2xx navigation status — navigation now reports the HTTP status instead of silently succeeding on error responses. (microsoft/playwright#41589)
  • fix(mcp): enable the chromium sandbox for the default browser — the default Chromium browser now runs sandboxed. (microsoft/playwright#41652)
  • fix(routing): normalize literal glob components through new URL()route patterns with literal glob characters now match reliably. (microsoft/playwright#41682)
  • fix(mcp): close isolated HTTP client context on disconnect — isolated sessions release their context cleanly on disconnect. (microsoft/playwright#41560)