[Vivaldi] CDP detaches immediately: navigate/observe time out on Vivaldi, same setup works on Chrome
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- devtools
Research direction
The payload names the chrome.debugger attach path in the extension and the daemon's CDP call handling, plus detectBrowserMeta as the place browser identity is read. Start by reproducing with Vivaldi and capturing daemon logs to see where the 'Detached while handling command' error originates. Done means navigate, observe and screenshot succeed on Vivaldi, or the browser-specific cause is documented with a clear next step. Related: #272 and #410.
Written by the indexing model from the issue text.
Description
Summary
With Vivaldi connected, everything short of page automation works: bsk doctor is all green, bsk browsers lists the instance, session start returns an agent window, and tab list shows the user's tabs. But the first CDP call fails — navigate / observe time out (30–32s), and screenshot reports:
Could not establish background execution for tab
<id>: Detached while handling command.
The exact same flow (same daemon, same CLI, same extension build, same machine) works end-to-end on real Chrome. So this looks like Vivaldi mishandling chrome.debugger attachments — same family as #272 (Yandex), except here it fails on the very first session, not after the first one.
We'd like to use BrowserSkill with Vivaldi too.
Environment
- OS: CachyOS (Arch-based) Linux x86_64
- Browser: Vivaldi 8.2.4133.87 (Flatpak
com.vivaldi.Vivaldi), Chromium token 152.0.0.0 — the extension reports it aschrome 152.0.0.0 - Working comparison: native Google Chrome 155 on the same machine (reported as
chrome 155.0.0.0) — identical tasks succeed - bsk CLI 0.3.2, daemon protocol 1.3, extension 0.3.3 (Chrome Web Store),
version_skew: false - Two browsers connected and labeled (
Chrome,Vivaldi); targeted via--browser Vivaldi
Reproduction
bsk session start --browser Vivaldi --json # ok: session_id + agent_window_id
bsk navigate https://example.com --session <id>
# error: operation timed out ... tool RPC timed out after 32s
bsk screenshot --session <id> --out x.png
# error: browser rejected the underlying CDP call
# details: Could not establish background execution for tab <id>: Detached while handling command.
tab list in the same session works and returns real tabs, so this is purely the debugger/CDP layer.
Notes
- #272 was fixed by #410, but the fix is not in a released extension build yet (latest release is still cli-v0.3.2), so I could not verify whether it also covers Vivaldi.
- Related suggestion from #272's discussion:
detectBrowserMetasilently reports forks (Yandex, Vivaldi, …) as plainchrome, which makes reports like this self-misidentifying. A Vivaldi/YaBrowser probe plus adoctorhint for unsupported browsers would help. - Happy to run an instrumented build or provide daemon logs against this setup.
- Dominant language
- TypeScript
- Stars
- 9.1k
- Forks
- 656
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 62
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Tencent/BrowserSkill
-
[Bug] dsh-plugin skill: the injection-warning sentence added for #286 is itself a prompt-injection match, so the skill body gets blockedPossibly taken @Jay0130-a claimed this 6 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Tencent/BrowserSkill#390 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
Tencent/BrowserSkill#461 ·
Maintainers usually reply within 1 day
-
[Bug] Windows: badcase scaffold fails when TEMP and the repository are on different drivesPossibly taken @legend91019 claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
Tencent/BrowserSkill#458 ·
Maintainers usually reply within 1 day
-
browser session idle time too short. 5 minutes ? Make it longer or user configurablePossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 3/5 1-2 days Newbie friendliness 54/100
Tencent/BrowserSkill#456 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 22/100
Tencent/BrowserSkill#454 ·
Maintainers usually reply within 1 day
All issues in Tencent/BrowserSkill
Similar issues
-
freshness freshness:observed-only
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
thoroc/context-radar#280 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
-
documentation story
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
bug category:billing priority:p3 track:fast
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
LanternOps/breeze#9223 ·
Maintainers usually reply within 1 day