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

Multiple execution error in MCP tool steps.

Open LadyDarknes opened this issue 7 months ago • 3 comments

Description of the bug

It hasn't happened until the last update, these error primarily occur during step executions "CORTEX_STEP_TYPE_MCP_TOOL" and rage from state managment issues "mising snapshots" to conenction stability problem.

The errors doesn't return a value or data so ai just seems: "Step was canceled by user".

Reproduction

Ran with these arguments: { "type": "url", "url": "blablablawebsite.com/login" } its freeze when trying navigate page. it also happened in Ran with these arguments: { "uid": "2_17" } error executing cascade step: CORTEX_STEP_TYPE_MCP_TOOL: No snapshot found for page 1. Use take_snapshot to capture one. error executing cascade step: CORTEX_STEP_TYPE_MCP_TOOL: Timed out after waiting 5000ms cause: Locator.waitHandle transport error: transport closed

Expectation

Snapshots should persist across the session until explicitly cleared. Timeouts should be more robust or configurable. The transport layer should maintain a stable connection during active tool calls. Steps should only be "canceled" upon actual user request.

MCP configuration

"google-DevTools": {
  "args": [
    "-y",
    "chrome-devtools-mcp@latest",
    "--browser-url=http://127.0.0.1:9222"
  ],
  "command": "npx.cmd",
  "disabled": false
}

Chrome DevTools MCP version

v0.21.0

Chrome version

Version 147.0.7727.101 (Official Build) (64-bit)

Coding agent version

Windsurf

Model version

İts same with gpt 5.2 and kiwi K2.5

Chat log

MCP'de teknik sorun var, alternatif yöntemle devam ediyorum. Skipped web request freehourboost.com Skipped web request freehourboost.com Feedback submitted devam MCP’nin “donması” genelde snapshot’ın eskimesi/transport kopması yüzünden oluyor; ben her adımda yeniden take_snapshot alıp, küçük ve tekil aksiyonlarla ilerleyeceğim

Node version

yes I have

Operating system

Windows

Extra checklist

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

LadyDarknes avatar Apr 17 '26 02:04 LadyDarknes

Hey LadyDarkenes! Thank you for filing this bug!

Are you still encountering this issue as of now? Can you provide clear, deterministic steps to reproduce this issue?

nroscino avatar May 21 '26 08:05 nroscino

If you redirect an AI in reasoning mode to the site's network/URL login screen, it gets stuck in an infinite loop. I am not using least version of program so I dont know if bug still on or not.

LadyDarknes avatar May 21 '26 13:05 LadyDarknes

I see. I tried to reproduce but like this I am unable using the latest version. I will close the bug for now, if you see the issue still happening feel free to reopen it.

Thank you!

nroscino avatar May 22 '26 13:05 nroscino