sincecutoff.com
← all changes

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

Check the installed version and the source before using it. Entry JSON

Report a problem with this card