You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@voycey could you provide an example or a screencast? the tests for dialog handling are all passing. Please also double check the exact version of the MCP server used.
On any webpage generated "confirm" box it cannot handle it when using this MCP server.
⏺ chrome-devtools - click (MCP)(uid: "83_77")
⎿ # click response
Successfully clicked on the element
⏺ chrome-devtools - wait_for (MCP)(text: ["successfully","Error","failed","Knowledge Bases"], timeout: 10000)
⎿ Error: Timed out after waiting 10000ms
Cause: Locator.waitHandle
⏺ chrome-devtools - take_snapshot (MCP)
⎿ Error: Accessibility.getFullAXTree timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher
timeout if needed.
⏺ chrome-devtools - take_snapshot (MCP)
⎿ # take_snapshot response
# Open dialog
alert: Knowledge base created successfully!.
… +43 lines (ctrl+o to expand)
<Hung here for about 20 minutes until I manually went into Chrome to click the dialog box then it continued immediately>
⏺ KB created successfully. Let me dismiss the dialog and verify the per-user file.
Here's a fresh one:
⏺ Good, reloaded. Now let me create a new KB in the browser — should be on the KB list page already as voycey+2:
⏺ chrome-devtools - navigate_page (MCP)(type: "url", url: "http://localhost:30001/knowledgebases/create")
⎿ # navigate_page response
Successfully navigated to http://localhost:30001/knowledgebases/create.
## Pages
4: http://localhost:30001/knowledgebases/create [selected]
⏺ chrome-devtools - wait_for (MCP)(text: ["Create New Knowledge Base"], timeout: 5000)
⎿ # wait_for response
Element matching one of ["Create New Knowledge Base"] found.
## Latest page snapshot
… +42 lines (ctrl+o to expand)
⏺ chrome-devtools - fill (MCP)(uid: "86_24", value: "Per-User File Test")
⎿ # fill response
Successfully filled out the element
⏺ chrome-devtools - fill (MCP)(uid: "86_26", value: "Verifying per-user file metadata with kb_metadata_backend=file")
⎿ # fill response
Successfully filled out the element
⏺ chrome-devtools - click (MCP)(uid: "86_80")
⎿ # click response
Successfully clicked on the element
⏺ chrome-devtools - wait_for (MCP)(text: ["successfully","Error","failed"], timeout: 10000)
⎿ Error: Timed out after waiting 10000ms
Cause: Locator.waitHandle
⏺ chrome-devtools - take_snapshot (MCP)
⎿ Running…
✶ Forging… (13m 52s · ↓ 9.0k tokens · thought for 10s)
It will hang here until I manually intervene or until some internal timeout happens.
I think perhaps it cannot take a snapshot when the dialog is open because it blocks the page?
Once I click the dialog it immediately continues:
⏺ chrome-devtools - take_snapshot (MCP)
⎿ # take_snapshot response
# Open dialog
alert: Knowledge base created successfully!.
… +43 lines (ctrl+o to expand)
⏺ Created successfully. Let me accept and verify:
⏺ chrome-devtools - handle_dialog (MCP)(action: "accept")
⎿ # handle_dialog response
Successfully accepted the dialog
## Pages
4: http://localhost:30001/knowledgebases [selected]
⏺ chrome-devtools - wait_for (MCP)(text: ["Per-User File Test","No knowledge bases"], timeout: 5000)
⎿ # wait_for response
Element matching one of ["Per-User File Test","No knowledge bases"] found.
## Latest page snapshot
… +22 lines (ctrl+o to expand)
⏺ "Per-User File Test" KB is now showing in the user's Knowledge Bases list. Let me verify the per-user file has the metadata
and also verify the admin user's existing KBs still work:
Sorry one more - I have worked out the pattern now:
wait_for is looking for text in the DOM I assume - these dialog boxes arent in the standard DOM that the MCP server has access to, its client side in the window object, the timeout then causes a new snapshot which cant complete as focus is locked by the dialog.
Ill try and grab some next time I see it - I removed a lot of them because this was killing my productivity.
If I can find some ill reopen this but its the same issue as last time in its behaviour (e.g. Browser Confirm causes MCP to not progress)
Activity
[-]Dialog Handling is still NOT fixed[/-][+]Dialog Handling is still not fixed[/+]OrKoN commentedon Mar 2, 2026
@voycey could you provide an example or a screencast? the tests for dialog handling are all passing. Please also double check the exact version of the MCP server used.
voycey commentedon Mar 9, 2026
@OrKoN hit this again today:
On any webpage generated "confirm" box it cannot handle it when using this MCP server.
Here's a fresh one:
It will hang here until I manually intervene or until some internal timeout happens.
I think perhaps it cannot take a snapshot when the dialog is open because it blocks the page?
Once I click the dialog it immediately continues:
voycey commentedon Mar 9, 2026
I am on Mac OS Tahoe 26.1 (25B78)
Is this the correct version? Installed via the plugin marketplace
voycey commentedon Mar 9, 2026
One more (not sure it will help much more than what I have provided)
voycey commentedon Mar 9, 2026
Sorry one more - I have worked out the pattern now:
wait_for is looking for text in the DOM I assume - these dialog boxes arent in the standard DOM that the MCP server has access to, its client side in the
windowobject, the timeout then causes a new snapshot which cant complete as focus is locked by the dialog.voycey commentedon Mar 23, 2026
@OrKoN any updates on this - I am still experiencing this on the latest version of CDT
When Claude tries to take a screenshot after the wait_for times out it hangs (I assume because the dialog has stolen focus.
This causes conversation to be constantly held up because it cannot move past these dialogs?
OrKoN commentedon Mar 30, 2026
Thanks for the details! I think we should reject most of the tool calls if there is an open dialog requiring the agent to handle the dialog first.
fix: handle errors due to open dialogs during tool calls (#1953)
test: add tests for checking behavior when dialog is open (ChromeDevT…
fix: add proactive tool rejection when dialog is open (ChromeDevTools…
voycey commentedon May 26, 2026
@OrKoN @samiyac - this issue is still happening in the latest version, popups still freeze the process of chrome-devtools
OrKoN commentedon May 26, 2026
@voycey do you have screenshots or logs for the latest version?
voycey commentedon May 26, 2026
Ill try and grab some next time I see it - I removed a lot of them because this was killing my productivity.
If I can find some ill reopen this but its the same issue as last time in its behaviour (e.g. Browser Confirm causes MCP to not progress)