agent-browser network har start captures response bodies
Introduced 2026-07-19 · score 0.98
HOW TO USE IT
When recording a site's API traffic, start HAR capture; text-like response bodies are embedded by default. Choose `--content all` for all bodies or `--content none` for metadata only, then stop capture to save the HAR.
agent-browser network har start
agent-browser open <url>
agent-browser network har stop <output.har>agent-browser network har start --content allagent-browser network har start --content noneWHY THIS HELPS
Record a site's API traffic in a HAR so you can inspect request and response data while developing an integration.
REQUIREMENTS AND LIMITATIONS
- Version: v0.32.3
- --content: Select body capture mode: `text` (default; text-like bodies, up to 2 MB per body), `all` (all bodies; binary as base64), or `none` (sizes and MIME types only). These are alternative values for one option.
- <url> (required): URL to open while recording.
- <output.har>: Path to save the HAR when stopping recording; if omitted, a temporary path is used.
- Text-like response bodies are embedded by default, up to 2 MB per body.
- The `all` mode embeds binary content as base64.
- The `none` mode records sizes and MIME types without bodies.
- HAR files include request headers, response headers, cookies, POST data, and response bodies; treat them as sensitive when pages use cookies, bearer tokens, or API keys.
FIRST-PARTY EVIDENCE
- https://github.com/vercel-labs/agent-browser/releases/tag/v0.32.3
- https://github.com/vercel-labs/agent-browser/pull/1578
- https://github.com/vercel-labs/agent-browser/blob/v0.32.3/README.md
- https://github.com/vercel-labs/agent-browser/blob/v0.32.3/docs/src/app/network/page.mdx
Check the installed version and the source before using it. Entry JSON