Password dialogs in Chrome might prevent input events dispatched by chrome-devtools-mcp
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 38/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- typescript
- 領域
- devtools, testing-qa, tooling
調査の方向性
ツールのエントリポイントである click、fill、press_key から始め、Chrome DevTools Protocol を介して入力がどのようにディスパッチされるかを追跡します。capture-phase probe とツールの結果を確認しながら、login-to-consent と navigate_page のフローを再現します。入力が飲み込まれたときにツールが成功した配信を暗黙に報告しなくなり、報告されたトリガーに対するリグレッションチェックを含めて、dead-input condition を理解できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 59.8k
- フォーク
- 4.8k
- 平均マージ
- 2日 10時間
- マージ済み PR(30日)
- 162
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ChromeDevTools/chrome-devtools-mcp のほかの issue
-
feature
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
ChromeDevTools/chrome-devtools-mcp#3689 ·
メンテナーはふだん 1 日以内に返信
-
`evaluate_script` `sourcePath` http(s) URLs are mangled into `file://` paths再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンcollecting-feedback
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ChromeDevTools/chrome-devtools-mcp#3453 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
collecting-feedback feature
難易度 2/5 半日 初心者へのやさしさ 76/100
ChromeDevTools/chrome-devtools-mcp#3225 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
confirmed p3
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ChromeDevTools/chrome-devtools-mcp#2947 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Project Migration: Moving to devtools-frontend対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 1/100
ChromeDevTools/chrome-devtools-mcp#3648 ·
メンテナーはふだん 1 日以内に返信
ChromeDevTools/chrome-devtools-mcp の issue をすべて見る
似ている issue
-
bug engine
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
frostney/GocciaScript#2539 ·
メンテナーはふだん 1 日以内に返信
-
Fish Audio Live calls fail to start: `Unknown callback "onNotice"` from @fishaudio/agent-client対応中かも @NEAL3K が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
milind-soni/OpenMausBot#8345 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
ardia-browser/ardia#6142 ·
メンテナーはふだん 1 日以内に返信
-
bug from-app needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
nightly-labs/openbot#21303 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Lin-arm/GKD_subscription#530 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信