{
  "slug": "playwright-cli-browser-storage-and-authentication-state-controls-4ee0ffcf0209",
  "title": "playwright-cli browser storage and authentication state controls",
  "tools": [
    "playwright-mcp"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-02-04T00:02:29.000Z",
  "announced_at": "2026-02-04T00:02:29.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When persisting login state or debugging browser storage, use `playwright-cli state-save` and `state-load` for a state file, and the cookie, localStorage, or sessionStorage commands to inspect or change entries.",
    "examples": [
      "playwright-cli state-save auth.json\nplaywright-cli state-load auth.json",
      "playwright-cli cookie-list\nplaywright-cli cookie-get <name>\nplaywright-cli cookie-set <name> <value> --domain=<domain>\nplaywright-cli cookie-delete <name>\nplaywright-cli cookie-clear",
      "playwright-cli localstorage-list\nplaywright-cli localstorage-get <key>\nplaywright-cli localstorage-set <key> <value>\nplaywright-cli localstorage-clear\nplaywright-cli sessionstorage-list\nplaywright-cli sessionstorage-set <key> <value>\nplaywright-cli sessionstorage-clear"
    ],
    "gotchas": [
      "Version: v0.0.63",
      "state-save [filename]: Saves browser state; filename is optional. Example: `auth.json`.",
      "state-load <filename> (required): Loads browser state from the named file.",
      "cookie-get <name>; cookie-delete <name> (required): Cookie name to retrieve or delete.",
      "cookie-set <name> <value> (required): Cookie name and value; `--domain=<domain>` selects its domain.",
      "localstorage-get <key>; localstorage-set <key> <value> (required): Storage key to retrieve, or key and value to set.",
      "sessionstorage-set <key> <value> (required): Storage key and value to set.",
      "Docs conflict: The current official CLI reference documents `localstorage-delete`, `sessionstorage-get`, and `sessionstorage-delete`, which the v0.0.63 release note does not list. It also documents session-storage get and delete examples absent from that release note; no claim about their availability in v0.0.63 is made. Source: https://github.com/microsoft/playwright-cli/blob/main/skills/playwright-cli/references/storage-state.md"
    ]
  },
  "why_it_matters": "Persist browser login state or inspect and change browser storage while debugging a web application.",
  "sources": [
    "https://github.com/microsoft/playwright-mcp/releases/tag/v0.0.63",
    "https://github.com/microsoft/playwright-cli/blob/main/skills/playwright-cli/references/storage-state.md"
  ],
  "rank": 0.97052,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "backfill-20261007",
    "verdict_id": "backfill-20261007:backfill-20261007-d3bc847dca2d1f46-0:gate",
    "evidence_hash": "66452dcb24860b8d0a54286ea25b704580660682f5b75476dd21145a89ef4299"
  },
  "review": {
    "draft_hash": "999ee0bd0ef4b50b718651f1e5d2f9913e2359b1e2c15ca093c3783e4578eda9",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "backfill-20261007:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.97 >= 0.9; 2 needed) and Jev gave 0.69 (>= 0.6 needed)."
  }
}
