chrome-devtools-mcp icon indicating copy to clipboard operation
chrome-devtools-mcp copied to clipboard

Snapshot Not Updated After take_snapshot Without Page Reload

Open qaqab opened this issue 1 month ago • 1 comments

Description of the bug

When interacting with the page (e.g., clicking a button) and attempting to use take_snapshot to capture and analyze the updated content, the snapshot fails to reflect the changes unless the page is reloaded.

Reproduction

Steps to Reproduce:  Open the application/page.  Perform an action that updates the page content (e.g., click a button).  Call take_snapshot to capture the updated state.  Attempt to analyze the snapshot.  Expected Result: The snapshot should capture the current state of the page after the interaction, without requiring a page reload.  Actual Result: The system returns the error: No snapshot found. Use take_snapshot to capture one. or continues to use the previous snapshot, ignoring recent changes.  Additional Context: This issue occurs specifically when updates are made dynamically (without a full page reload). It suggests that the snapshot mechanism may not be detecting or capturing DOM updates triggered by client-side interactions.

Expectation

No response

MCP configuration

No response

Chrome DevTools MCP version

0.10.1

Chrome version

No response

Coding agent version

No response

Model version

No response

Chat log

No response

Node version

No response

Operating system

None

Extra checklist

  • [ ] I want to provide a PR to fix this bug

qaqab avatar Nov 17 '25 07:11 qaqab

Could you please provide a specific scenario where you see it? a test page + exact tool calls that were made?

OrKoN avatar Nov 17 '25 15:11 OrKoN