chrome-devtools-mcp evaluate_script waitForStableDom option
Introduced 2026-08-25 · score 0.95
HOW TO USE IT
For a read-only script that does not need to wait for DOM settling, call `evaluate_script` with `waitForStableDom: false`.
evaluate_script({"pageId": <pageId>, "function": "() => document.title", "waitForStableDom": false})WHY THIS HELPS
Evaluate a read-only script on a page that does not need to wait for the DOM to settle.
REQUIREMENTS AND LIMITATIONS
- 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.
FIRST-PARTY EVIDENCE
- 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
Check the installed version and the source before using it. Entry JSON