-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
I've gotten this working in docker with a little finesse, most things seem to be working like getting tab information, etc.
However, in stumbling around with the cli tool i found a self-test, however it fails to click the Neptunium text.
I threw in some hacky output, including a snapshot which does indeed include the text; but it seems to point to this:
Lines 574 to 579 in 10459c6
| await executeTool("browser_click", { | |
| selector: "text:Neptunium", | |
| tabId, | |
| timeoutMs: 3000, | |
| pollMs: 150, | |
| }); |
It never makes it through the selectedRaw assignment because the query fails.
I've not stepped through any futher tests, code, or evaluated what is failing with the click. Superficially, it looks correct, but clearly it isn't working...
bunx @different-ai/opencode-browser@latest self-test
OpenCode Browser v4
Browser automation plugin (native messaging + per-tab ownership)
CLI Self-Test
-------------
Running extension-backed smoke test via plugin tools...
No matches for selectors: [aria-selected='true']
vs
bunx @different-ai/opencode-browser@latest tool browser_get_tabs | tail -n +5 | jq '.[].title'
"different-ai/opencode-browser at 10459c60b6315c835e638773a8ea2ca1a01f3068"
"New Issue"
So it does appear to have a proper connection as described in the readme:
OpenCode Plugin <-> Local Broker (unix socket) <-> Native Host <-> Chrome Extension
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels