sincecutoff.com
← all changes

agent-browser `cookies set` imports cookies from files

Introduced 2026-05-07 · score 0.95

HOW TO USE IT

When importing cookies from a file to set up an authenticated browser session, run `agent-browser cookies set --curl <file>`. It auto-detects JSON, cURL, and bare Cookie-header formats.

agent-browser cookies set --curl <file>
agent-browser cookies set --curl <file> --domain <domain>

WHY THIS HELPS

Import cookies from a file to set up a browser session for testing an authenticated web application.

REQUIREMENTS AND LIMITATIONS

  • Version: v0.27.0
  • --curl <file> (required): Read the cookie import file. Accepted formats: JSON array of `{name, value}`, a cURL dump, or a bare Cookie header; format is auto-detected.
  • --domain <domain>: Scope imported cookies to the specified domain.
  • The import auto-detects JSON, cURL, and Cookie-header formats.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card