Bug fixes for CDP direct mode.
Fixes
- snapshot — Fixed buildDomTree.js API mismatch, interactive elements with
[ref=N]now display correctly - cross-process click/fill — Refs persist to temp files (
/tmp/bb-browser-refs-<targetId>.json), xpath fallback resolves elements via CDP - fill command — Fixed DOM.focus parameter, input filling works correctly
- tab list — Added "list" as recognized subcommand
- snapshot robustness — Graceful fallback on complex pages (e.g. google.com)
- Discovery speed — Managed browser check runs first, OpenClaw probe deferred
Test Results
32 commands tested (blind test), 29/32 pass. All core operations working.
npm install -g bb-browser