{
  "slug": "playwright-mcp-devtools-recording-tools-return-browser-actions-as-playwright-cod-bb07af45a595",
  "title": "playwright-mcp devtools recording tools return browser actions as Playwright code",
  "tools": [
    "playwright-mcp"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-09-01T03:24:23.000Z",
  "announced_at": "2026-09-01T03:24:23.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When a user demonstrates a browser flow manually, start the Playwright MCP server with `--caps=devtools`, call `browser_start_recording`, then call `browser_stop_recording` when they are done to retrieve Playwright code.",
    "examples": [
      "npx @playwright/mcp@0.0.80 --caps=devtools",
      "browser_start_recording()",
      "browser_stop_recording()"
    ],
    "gotchas": [
      "Version: v0.0.80",
      "Availability: Opt-in via `--caps=devtools`.",
      "--caps (required): Comma-separated additional capabilities to enable; include `devtools` to expose the recording tools.",
      "browser_start_recording parameters: None documented.",
      "browser_stop_recording parameters: None documented.",
      "Prerequisite: Node.js 18 or newer and an MCP client.",
      "Prerequisite: Install the Playwright MCP server with the MCP client; `devtools` is an opt-in capability.",
      "Records actions that the user performs manually in the browser."
    ]
  },
  "why_it_matters": "Capture a browser flow demonstrated manually so you can use it as Playwright code in a repository.",
  "sources": [
    "https://github.com/microsoft/playwright-mcp/releases/tag/v0.0.80",
    "https://github.com/microsoft/playwright-mcp/blob/v0.0.80/README.md"
  ],
  "rank": 0.96023,
  "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": "augsep-20261008",
    "verdict_id": "augsep-20261008:augsep-20261008-02a33c3097654b37-0:gate",
    "evidence_hash": "e76d51c1e66ffa56fc5d64f439b7bd54c1f145450a35ffa48e4439287d97def2"
  },
  "review": {
    "draft_hash": "a171fff16791a641c54a4af73e5fa47596b837098b7864fabbdafff5d54d1a79",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "augsep-20261008:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.96 >= 0.9; 2 needed) and Jev gave 0.72 (>= 0.6 needed)."
  }
}
