Password dialogs in Chrome might prevent input events dispatched by chrome-devtools-mcp
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 38/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- typescript
- Ambito
- devtools, testing-qa, tooling
Direzione di ricerca
Inizia dai punti di ingresso degli strumenti click, fill e press_key e traccia il modo in cui distribuiscono l’input tramite Chrome DevTools Protocol. Riproduci i flussi login-to-consent e navigate_page verificando la capture-phase probe e i risultati degli strumenti. Il lavoro è completato quando la condizione di input inattivo è compresa e gli strumenti non segnalano più silenziosamente una consegna riuscita quando l’input è stato assorbito, con un controllo di regressione per i trigger segnalati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
After certain tab events, ALL CDP-injected input to that tab — click, fill, press_key — stops reaching the renderer, while the MCP tools keep returning success ("Successfully clicked on the element"). The result is silent false positives: an agent-driven test concludes "the app is broken / the button stalls" when in fact the input was never delivered.
Environment
- chrome-devtools-mcp via npx (current as of 2026-06), macOS (darwin 25.5), Chrome 149
- Dedicated profile via
--userDataDir
Symptom detail
take_snapshotworks, uids are fresh, the target is a plain<button onClick={…}>.clickon the button returns success — but a capture-phase probe registers zero DOM events:// via evaluate_script, before clicking: window.__probe = []; ['pointerdown','mousedown','mouseup','click'].forEach(t => document.addEventListener(t, e => window.__probe.push(t), true)); // → after the MCP click tool reports success, window.__probe is still []evaluate_scriptwithelement.click()works immediately (so the page, the handler, and the element are fine).- Hit-testing exonerated:
document.elementFromPoint(centerX, centerY)returns the target button. - Mouse AND keyboard input are affected once the tab enters this state.
Triggers observed
The tab enters the dead-input state after:
- Completing a sign-in step on a page (input worked for the credential fill + submit, then died mid-page with no navigation); subsequent clicks on the consent dialog of the same page never arrive.
- Re-navigating an existing tab via
navigate_page(dead immediately after).
A fresh new_page tab restores input delivery until a trigger recurs.
Repro sketch (any login→consent flow should do)
new_page→ a login page;fillcredentials (works),clicksubmit (works).- Same-page consent/confirm dialog renders.
clickthe confirm button → tool reports success, page state unchanged, zero network, zero console, zero DOM events (probe above).evaluate_scriptelement.click()→ flow completes instantly.
Possibly related
#1794 — the stacking "Allow remote debugging?" native popup. A native Chrome UI bubble stealing focus would explain exactly this signature (trusted/CDP input swallowed, JS-dispatched events unaffected). We could not visually confirm a bubble (headless-ish agent usage), but the save-password bubble was also on our suspect list.
Why this matters
Agent loops trust the tool result. "Successfully clicked" + no effect sent us debugging the application for a stall that didn't exist. If delivery can't be guaranteed, an error or warning from the click tool when the dispatch target tab has a native UI overlay / lost input focus would prevent the false positive.
Workaround we use
Capture-phase event probe before concluding anything from a no-op click; evaluate_script DOM clicks for post-login interactions; one fresh new_page per flow; verify outcomes out-of-band.
- Lingua principale
- TypeScript
- Stelle
- 59.8k
- Fork
- 4.8k
- Merge medio
- 2g 10h
- PR unite (30g)
- 162
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ChromeDevTools/chrome-devtools-mcp
-
feature
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
ChromeDevTools/chrome-devtools-mcp#3689 ·
I maintainer di solito rispondono entro 1 giorno
-
`evaluate_script` `sourcePath` http(s) URLs are mangled into `file://` pathsForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertacollecting-feedback
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ChromeDevTools/chrome-devtools-mcp#3453 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
collecting-feedback feature
Difficoltà 2/5 Mezza giornata Idoneità per principianti 76/100
ChromeDevTools/chrome-devtools-mcp#3225 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
`wait_for` never finds visible text whose HTML source contains line breaks or repeated spacesApertaconfirmed p3
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ChromeDevTools/chrome-devtools-mcp#2947 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Project Migration: Moving to devtools-frontendForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 1/100
ChromeDevTools/chrome-devtools-mcp#3648 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di ChromeDevTools/chrome-devtools-mcp
Issue simili
-
[Bug]: Team (channel) avatars render noticeably smaller than agent avatars in the sidebar gridApertabug from-app needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
nightly-labs/openbot#21303 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
ADORSYS-GIS/CoopData#282 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
OHDSI/Data2Evidence#3816 ·
I maintainer di solito rispondono entro 3 giorni
-
`ovsx verify` fails for a version older than the 100 newest of an extensionForse già presa @trivikr l’ha presa oggi. Apertacli
Difficoltà 2/5 1-3 ore Idoneità per principianti 81/100
eclipse-openvsx/openvsx#2482 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug builder-vite hmr sev:S3
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
storybookjs/storybook#37965 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno