Skip to content

fix: handle error messages that are not instanceof Error#618

Merged
OrKoN merged 1 commit intomainfrom
orkon/fix-errors
Nov 27, 2025
Merged

fix: handle error messages that are not instanceof Error#618
OrKoN merged 1 commit intomainfrom
orkon/fix-errors

Conversation

@OrKoN
Copy link
Collaborator

@OrKoN OrKoN commented Nov 27, 2025

Closes #617

@OrKoN OrKoN force-pushed the orkon/fix-errors branch 2 times, most recently from 006e500 to fd5b1f7 Compare November 27, 2025 14:20
Copy link
Collaborator

@Lightning00Blade Lightning00Blade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with two comments.

@OrKoN OrKoN enabled auto-merge (squash) November 27, 2025 15:38
@OrKoN OrKoN merged commit a67528a into main Nov 27, 2025
20 checks passed
@OrKoN OrKoN deleted the orkon/fix-errors branch November 27, 2025 15:41
OrKoN pushed a commit that referenced this pull request Dec 3, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.11.0](chrome-devtools-mcp-v0.10.2...chrome-devtools-mcp-v0.11.0)
(2025-12-03)


### 🎉 Features

* **emulation:** add geolocation emulation tool
([#634](#634))
([3991e4c](3991e4c))
* integrate DevTools issues into the console tools
([#636](#636))
([d892145](d892145))
* support --user-data-dir
([#622](#622))
([fcaf553](fcaf553))


### 🛠️ Fixes

* handle error messages that are not instanceof Error
([#618](#618))
([a67528a](a67528a))
* handle the case when all pages are filtered out
([#616](#616))
([bff5c65](bff5c65))
* ignore hash parts of URLs when finding DevTools
([#608](#608))
([52533d0](52533d0))
* ignore quality for png
([#589](#589))
([2eaf268](2eaf268))
* include a note about selected elements missing from the snapshot
([#593](#593))
([80e77fd](80e77fd))
* prevent dropping license notices on some files when publishing
([#604](#604))
([94752ff](94752ff))
* rename page content to latest page snapshot
([#579](#579))
([9cb99ad](9cb99ad))
* **wait_for:** respect the provided timeout
([#630](#630))
([6b0984a](6b0984a)),
closes
[#624](#624)


### 📄 Documentation

* add Antigravity config
([#580](#580))
([6f9182f](6f9182f))
* add Qoder CLI to the MCP client configuration section in the README.
([#552](#552))
([1a16f15](1a16f15))
* add VS Code install badges
([#532](#532))
([cc4d065](cc4d065))
* clarify browser-url parameter in README
([#613](#613))
([05cf8cb](05cf8cb))
* Fix Antigravity docs
([#605](#605))
([fae2608](fae2608))
* update readme to explain agy's browser integration
([#612](#612))
([2d89865](2d89865))


### ♻️ Chores

* avoid throwing in resolveCdpElementId
([#606](#606))
([eb261fd](eb261fd))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
theomart pushed a commit to theomart/chrome-devtools-mcp that referenced this pull request Jan 15, 2026
Analyze GitHub issues (sorted by comments), PRs, and source code to
document key technical challenges for building browser automation MCPs
with AI agents.

Key findings grounded in actual code:
- Token explosion from automatic snapshots in input tools (src/tools/input.ts)
- Error handling patterns learned from crashes (src/main.ts, src/PageCollector.ts)
- WSL2 Chrome discovery issues (src/browser.ts)
- Dual-format output implementation (src/formatters/SnapshotFormatter.ts)
- Accessibility tree limitations from Puppeteer dependency

Sources: Issues ChromeDevTools#131, ChromeDevTools#363, ChromeDevTools#617, ChromeDevTools#635, ChromeDevTools#689, ChromeDevTools#690, ChromeDevTools#709, ChromeDevTools#713, ChromeDevTools#716, ChromeDevTools#726, ChromeDevTools#752
PRs: ChromeDevTools#618, ChromeDevTools#710, ChromeDevTools#744
Commits: f59b4a2, ca0f560, 3fcca02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

If puppeteer connections fails, the server returns [object Object]

2 participants