v0.21.2

vercel-labs/agent-browserv0.21.2Mar 19, 2026by github-actions[bot]

AI Summary

Patch release fixes rendering issues, drag interactions, and browser launch failures.

Key Highlights

  • Fixed duplicate text content appearing in page snapshots.
  • Corrected native mouse drag state tracking across down, move, and up events.
  • Resolved Chrome headless launch failures caused by the '--enable-unsafe-swiftshader' flag.

Full Release Notes

### Patch Changes

-   757626f: ### Bug Fixes

    -   **Deduplicate text content in snapshots** - Fixed an issue where duplicate text content appeared in page snapshots (#909)
    -   **Native mouse drag state** - Fixed incorrect raw native mouse drag state not being properly tracked across `down`, `move`, and `up` events (#872)
    -   **Chrome headless launch failures** - Fixed browser launch failures caused by the `--enable-unsafe-swiftshader` flag in Chrome headless mode (#915)
    -   **Origin-scoped `--headers` persistence** - Restored correct persistence of origin-scoped headers set via `--headers` across navigation commands (#894)
    -   **Relative URLs in WebSocket domain filter** - Fixed handling of relative URLs in the WebSocket domain filter script (#624)