agent-browser --profile reuses Chrome profile login state
Introduced 2026-04-04 · score 0.98
HOW TO USE IT
When browser automation needs an existing Chrome profile’s login state, cookies, or extensions, list profiles with `agent-browser profiles` and launch with `agent-browser --profile <name> open <url>`. The profile is copied to a temporary directory, leaving the original unchanged.
agent-browser profilesagent-browser --profile <name> open <url>agent-browser profiles --jsonWHY THIS HELPS
Run browser automation that needs an existing Chrome profile's login state, cookies, or extensions.
REQUIREMENTS AND LIMITATIONS
- Version: v0.24.1
- --profile <name>: Selects a Chrome profile by name; the profile is copied to a temporary directory for reuse.
- open <url> (required): Navigates to the target URL.
- --json: Enables JSON output for `profiles`. The release note does not document any other behavior for this flag.
- Prerequisite: Use agent-browser v0.24.1 or later for Chrome profile name reuse and the `profiles` command.
- Prerequisite: Install agent-browser and download Chrome with `agent-browser install`.
- Prerequisite: The profile name must identify an available Chrome profile.
- The profile name must identify an available Chrome profile.
FIRST-PARTY EVIDENCE
- https://github.com/vercel-labs/agent-browser/releases/tag/v0.24.1
- https://github.com/vercel-labs/agent-browser/blob/v0.24.1/README.md
Check the installed version and the source before using it. Entry JSON