v0.1.16

JinhuaLiang/WavCraftv0.1.16Jul 9, 2026by yury-s

AI Summary

Introduces search capabilities for large snapshots, mobile emulation, and local CLI invocation.

Key Highlights

  • New `find` command searches page snapshot for text/regexp without capturing the whole thing
  • Mobile emulation support via `open --mobile`
  • Leaner AI snapshots to reduce token costs
  • Local invocation via `npx playwright cli`

New Features

  • Search large snapshot (`find` command)
  • Mobile emulation
  • Leaner snapshots
  • Local invocation via `npx playwright cli`

Full Release Notes

## 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](https://github.com/microsoft/playwright/pull/41605), [microsoft/playwright#41654](https://github.com/microsoft/playwright/pull/41654))
- **Mobile emulation** — `open --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](https://github.com/microsoft/playwright/pull/41657))
- **Leaner snapshots** — AI snapshots are distilled to be less verbose, cutting token cost on every command that returns page state. ([microsoft/playwright#41604](https://github.com/microsoft/playwright/pull/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](https://github.com/microsoft/playwright/pull/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](https://github.com/microsoft/playwright/pull/41589))
- `fix(mcp): enable the chromium sandbox for the default browser` — the default Chromium browser now runs sandboxed. ([microsoft/playwright#41652](https://github.com/microsoft/playwright/pull/41652))
- `fix(routing): normalize literal glob components through new URL()` — `route` patterns with literal glob characters now match reliably. ([microsoft/playwright#41682](https://github.com/microsoft/playwright/pull/41682))
- `fix(mcp): close isolated HTTP client context on disconnect` — isolated sessions release their context cleanly on disconnect. ([microsoft/playwright#41560](https://github.com/microsoft/playwright/pull/41560))