{
  "slug": "playwright-cli-records-browser-sessions-on-demand-7a8aeb4db794",
  "title": "Playwright CLI records browser sessions on demand",
  "tools": [
    "playwright-mcp"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-01-31T01:37:28.000Z",
  "announced_at": "2026-01-31T01:37:28.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When debugging or reviewing a web application, start a video recording, perform the browser flow, then stop the recording to save the video. In Playwright MCP, enable the capability with `--caps=devtools` and use the video tools.",
    "examples": [
      "playwright-cli open playwright.dev\nplaywright-cli video-start\n# Perform the browser flow\nplaywright-cli video-stop",
      "playwright-cli video-start <filename>.webm\n# Perform the browser flow\nplaywright-cli video-stop",
      "# Start the MCP server with the devtools capability enabled: --caps=devtools\nbrowser_start_video {}\n# Perform the browser flow\nbrowser_stop_video {}"
    ],
    "gotchas": [
      "Version: v0.0.62",
      "video-start [filename]: Optional output video filename.",
      "--caps=devtools: Enables the MCP developer tools, including session video recording.",
      "browser_start_video.filename: Video output filename; when omitted, saves as `video-{timestamp}.webm` in the output directory.",
      "browser_start_video.size: Video size object.",
      "Prerequisite: Playwright CLI requires Node.js 18 or newer; install with `npm install -g @playwright/cli@latest`.",
      "Prerequisite: For MCP video tools, start Playwright MCP with `--caps=devtools`."
    ]
  },
  "why_it_matters": "Record a browser flow while debugging or reviewing a web application.",
  "sources": [
    "https://github.com/microsoft/playwright-mcp/releases/tag/v0.0.62",
    "https://github.com/microsoft/playwright-cli/blob/main/skills/playwright-cli/references/video-recording.md",
    "https://github.com/microsoft/playwright-mcp/blob/main/README.md",
    "https://github.com/microsoft/playwright-cli"
  ],
  "rank": 0.96033,
  "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-b6c674fec3190992-1:gate",
    "evidence_hash": "0c43acbcc3958f5ad9b7ff40c3c89c2a3e275714c5378a49386149fe0ca28bbe"
  },
  "review": {
    "draft_hash": "1405688230e712d71a5b4ea91c07aba34e083a14bb1517c612135a2f4f8a237f",
    "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.96 >= 0.9; 2 needed) and Jev gave 0.75 (>= 0.6 needed)."
  }
}
