{
  "slug": "chrome-devtools-mcp-evaluate-script-waitforstabledom-option-8d2a1f8664ed",
  "title": "chrome-devtools-mcp evaluate_script waitForStableDom option",
  "tools": [
    "chrome-devtools-mcp"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-08-25T11:35:48.000Z",
  "announced_at": "2026-08-25T11:35:48.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "For a read-only script that does not need to wait for DOM settling, call `evaluate_script` with `waitForStableDom: false`.",
    "examples": [
      "evaluate_script({\"pageId\": <pageId>, \"function\": \"() => document.title\", \"waitForStableDom\": false})"
    ],
    "gotchas": [
      "Version: 1.8.0",
      "function (required): JavaScript function declaration to execute in the target page; result must be JSON-serializable.",
      "pageId (required): ID of the target page.",
      "waitForStableDom: Whether to wait for DOM settling; defaults to true. Set false for read-only scripts.",
      "`waitForStableDom` defaults to true.",
      "The option skips only the stable DOM wait; navigation probing and dialog handling remain active.",
      "Service worker evaluations always skip the stable DOM wait."
    ]
  },
  "why_it_matters": "Evaluate a read-only script on a page that does not need to wait for the DOM to settle.",
  "sources": [
    "https://github.com/ChromeDevTools/chrome-devtools-mcp/releases/tag/chrome-devtools-mcp-v1.8.0",
    "https://github.com/ChromeDevTools/chrome-devtools-mcp/pull/2346",
    "https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/chrome-devtools-mcp-v1.8.0/docs/tool-reference.md"
  ],
  "rank": 0.95042,
  "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": "ghtools-20261008",
    "verdict_id": "ghtools-20261008:ghtools-20261008-03b1ce95dd8dcded-4:gate",
    "evidence_hash": "d1c02b64abd3eac67612ba31a1ccd5e85e0544264fefbebac90e612d2e8a3a01"
  },
  "review": {
    "draft_hash": "a7ca7f0e6016428066794d667453dd21eda56616bdd6b8efd3398b65701f1357",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "ghtools-20261008:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.95 >= 0.9; 2 needed) and Jev gave 0.79 (>= 0.6 needed)."
  }
}
