[Bug] Claude-in-Chrome screenshot capture hangs on document_idle timeout despite page being idle

Resolved 💬 2 comments Opened May 30, 2026 by saamde Closed Jul 3, 2026

Bug Description
mcp__claude-in-chrome__computer screenshot fails on every page — document_idle 45s timeout

The screenshot (and zoom) action of the Claude-in-Chrome computer tool fails 100% of the time with:
Error capturing screenshot: Page still loading (executeScript waited 45000ms for document_idle).

Not page-specific — confirmed by isolation:

  • Fails on https://example.com (trivial static page, no HMR, permissive CSP).
  • On a local page, a javascript_tool probe showed readyState:"complete", window.onload fired (~845ms), pendingCount:0 — i.e.

the page is genuinely idle, yet capture still times out.

So it's a page-independent capture/injection failure in this environment, not HMR, dev-server, or app-CSP related (all ruled
out).

Working in the same environment: javascript_tool, read_page, navigate, read_network_requests, tabs_*. Only the image-capture
actions (screenshot, zoom) hang.

Impact: No visual verification possible; each attempt burns a 45s wait.

Suggested: capture independent of document_idle (e.g. chrome.tabs.captureVisibleTab, or a waitUntil/skipIdle/shorter-timeout
option), since the current gate is unreachable here even on fully-idle pages.

Environment Info

  • Platform: linux
  • Terminal: gnome-terminal
  • Version: 2.1.156
  • Feedback ID: 4a8f0e4e-9b2e-48d1-b86c-53f0bf7f001e

Errors

[]

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗