Repository navigation
feat: auto handle dialogs during script evaluation - #1839
Merged
Merged
Conversation
Lightning00Blade
marked this pull request as ready for review
April 9, 2026 14:28
OrKoN
reviewed
Apr 10, 2026
ubutatu
approved these changes
Apr 10, 2026
This comment was marked as off-topic.
This comment was marked as off-topic.
Lightning00Blade
force-pushed
the
Support-dialogs-in-evaluate
branch
from
April 16, 2026 10:06
ec08ddf to
b4660f8
Compare
OrKoN
approved these changes
Apr 20, 2026
OrKoN
force-pushed
the
Support-dialogs-in-evaluate
branch
from
April 20, 2026 06:16
b4660f8 to
e311163
Compare
Added a new option `dialog` to `waitForEventsAfterAction` to automatically handle dialogs that trigger during execution. We hardcode it to `'accept'` for the `evaluate_script` tool so that `alert()` or `confirm()` don't block and timeout script evaluation. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Lightning00Blade
force-pushed
the
Support-dialogs-in-evaluate
branch
from
April 20, 2026 06:34
e311163 to
bfecb6c
Compare
Lightning00Blade
enabled auto-merge
April 20, 2026 06:40
wolfib
pushed a commit
that referenced
this pull request
Apr 20, 2026
Provide a argument to LLM to handle dialogs that come up during code execution. --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
OrKoN
pushed a commit
that referenced
this pull request
Apr 21, 2026
🤖 I have created a release *beep* *boop* --- ## [0.22.0](chrome-devtools-mcp-v0.21.0...chrome-devtools-mcp-v0.22.0) (2026-04-21) ### 🎉 Features * add update notification to both binaries ([#1783](#1783)) ([e01e333](e01e333)) * auto handle dialogs during script evaluation ([#1839](#1839)) ([da33cb5](da33cb5)) * ensure extensions for file outputs ([#1867](#1867)) ([e7a0d50](e7a0d50)) * experimental click_at(x,y) tool ([#1788](#1788)) ([c4f5471](c4f5471)) * support Chrome extensions debugging ([#1922](#1922)) ([3ff21cf](3ff21cf)) * support DevTools header redactions as an option ([#1848](#1848)) ([5c398c4](5c398c4)) * **webmcp:** Add experimental tool to execute WebMCP tool ([#1873](#1873)) ([0aff266](0aff266)) * **webmcp:** Add experimental tool to list WebMCP tools page exposes ([#1845](#1845)) ([f97b573](f97b573)) ### 🛠️ Fixes * avoid showing update notification for local builds ([#1889](#1889)) ([3f0cf10](3f0cf10)), closes [#1886](#1886) * **cli:** correct WebP MIME type check in handleResponse ('webp' → 'image/webp') ([#1899](#1899)) ([e3a5f6b](e3a5f6b)), closes [#1898](#1898) * ignore unmapped PerformanceIssue events ([#1852](#1852)) ([ea57e86](ea57e86)) * **network:** trailing data in Network redirect chain ([#1880](#1880)) ([2f458c1](2f458c1)) * remove double space in navigate error message ([#1847](#1847)) ([429e0ca](429e0ca)) ### 📄 Documentation * clarify tools included into CLI ([#1925](#1925)) ([76ab9fa](76ab9fa)) * document network response and request extensions ([#1887](#1887)) ([796d6f2](796d6f2)) * fix skill and reference documentation issues ([#1249](#1249)) ([9236834](9236834)) * Include Mistral Vibe setup in README ([#1801](#1801)) ([582c9e0](582c9e0)) * Rename project and enhance README content ([#1856](#1856)) ([c066488](c066488)) * update the README on installing as a VS code agent plugin ([#1796](#1796)) ([1b5dcae](1b5dcae)) ### 🏗️ Refactor * move waitForEventsAfterAction to McpPage ([#1780](#1780)) ([c7c8f50](c7c8f50)) * use puppeteer Extension API ([#1911](#1911)) ([ec895f1](ec895f1)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
franco-bianco
pushed a commit
to franco-bianco/ghostframe-mcp
that referenced
this pull request
May 2, 2026
🤖 I have created a release *beep* *boop* --- ## [0.22.0](ChromeDevTools/chrome-devtools-mcp@chrome-devtools-mcp-v0.21.0...chrome-devtools-mcp-v0.22.0) (2026-04-21) ### 🎉 Features * add update notification to both binaries ([#1783](ChromeDevTools/chrome-devtools-mcp#1783)) ([1d8df4c](ChromeDevTools/chrome-devtools-mcp@1d8df4c)) * auto handle dialogs during script evaluation ([#1839](ChromeDevTools/chrome-devtools-mcp#1839)) ([f2294b3](ChromeDevTools/chrome-devtools-mcp@f2294b3)) * ensure extensions for file outputs ([#1867](ChromeDevTools/chrome-devtools-mcp#1867)) ([e30fdbe](ChromeDevTools/chrome-devtools-mcp@e30fdbe)) * experimental click_at(x,y) tool ([#1788](ChromeDevTools/chrome-devtools-mcp#1788)) ([94dea19](ChromeDevTools/chrome-devtools-mcp@94dea19)) * support Chrome extensions debugging ([#1922](ChromeDevTools/chrome-devtools-mcp#1922)) ([e102830](ChromeDevTools/chrome-devtools-mcp@e102830)) * support DevTools header redactions as an option ([#1848](ChromeDevTools/chrome-devtools-mcp#1848)) ([a237ef6](ChromeDevTools/chrome-devtools-mcp@a237ef6)) * **webmcp:** Add experimental tool to execute WebMCP tool ([#1873](ChromeDevTools/chrome-devtools-mcp#1873)) ([2d9978e](ChromeDevTools/chrome-devtools-mcp@2d9978e)) * **webmcp:** Add experimental tool to list WebMCP tools page exposes ([#1845](ChromeDevTools/chrome-devtools-mcp#1845)) ([7bc67b5](ChromeDevTools/chrome-devtools-mcp@7bc67b5)) ### 🛠️ Fixes * avoid showing update notification for local builds ([#1889](ChromeDevTools/chrome-devtools-mcp#1889)) ([68a7df7](ChromeDevTools/chrome-devtools-mcp@68a7df7)), closes [#1886](ChromeDevTools/chrome-devtools-mcp#1886) * **cli:** correct WebP MIME type check in handleResponse ('webp' → 'image/webp') ([#1899](ChromeDevTools/chrome-devtools-mcp#1899)) ([ff9ae1a](ChromeDevTools/chrome-devtools-mcp@ff9ae1a)), closes [#1898](ChromeDevTools/chrome-devtools-mcp#1898) * ignore unmapped PerformanceIssue events ([#1852](ChromeDevTools/chrome-devtools-mcp#1852)) ([e6a8cdb](ChromeDevTools/chrome-devtools-mcp@e6a8cdb)) * **network:** trailing data in Network redirect chain ([#1880](ChromeDevTools/chrome-devtools-mcp#1880)) ([a046db9](ChromeDevTools/chrome-devtools-mcp@a046db9)) * remove double space in navigate error message ([#1847](ChromeDevTools/chrome-devtools-mcp#1847)) ([502c096](ChromeDevTools/chrome-devtools-mcp@502c096)) ### 📄 Documentation * clarify tools included into CLI ([#1925](ChromeDevTools/chrome-devtools-mcp#1925)) ([0bb5692](ChromeDevTools/chrome-devtools-mcp@0bb5692)) * document network response and request extensions ([#1887](ChromeDevTools/chrome-devtools-mcp#1887)) ([a20d4b3](ChromeDevTools/chrome-devtools-mcp@a20d4b3)) * fix skill and reference documentation issues ([#1249](ChromeDevTools/chrome-devtools-mcp#1249)) ([f0de7d9](ChromeDevTools/chrome-devtools-mcp@f0de7d9)) * Include Mistral Vibe setup in README ([#1801](ChromeDevTools/chrome-devtools-mcp#1801)) ([a99ae30](ChromeDevTools/chrome-devtools-mcp@a99ae30)) * Rename project and enhance README content ([#1856](ChromeDevTools/chrome-devtools-mcp#1856)) ([af7a9fb](ChromeDevTools/chrome-devtools-mcp@af7a9fb)) * update the README on installing as a VS code agent plugin ([#1796](ChromeDevTools/chrome-devtools-mcp#1796)) ([c933fc5](ChromeDevTools/chrome-devtools-mcp@c933fc5)) ### 🏗️ Refactor * move waitForEventsAfterAction to McpPage ([#1780](ChromeDevTools/chrome-devtools-mcp#1780)) ([05536ae](ChromeDevTools/chrome-devtools-mcp@05536ae)) * use puppeteer Extension API ([#1911](ChromeDevTools/chrome-devtools-mcp#1911)) ([96cfee5](ChromeDevTools/chrome-devtools-mcp@96cfee5)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Provide a argument to LLM to handle dialogs that come up during code execution.