Core capabilities of bdg (v0.6.10)
mainAs of version 0.6.10, bdg provides the following core capabilities for browser automation and debugging:
- CDP Access: 100% coverage of the Chrome DevTools Protocol (53 domains, 300+ methods) with type-safe wrappers.
- Daemon Architecture: Uses Unix sockets for persistent CDP connections, enabling fast CLI execution.
- Telemetry: Collects network requests, console messages, DOM snapshots, and the accessibility tree.
- Form Automation: Compatible with React, Vue, and Angular for filling, clicking, and key presses.
- Agent-Friendly: Provides semantic exit codes, JSON output, and token-efficient formats.
- Network Inspection: Includes DevTools-compatible filtering (10 types, 8 presets) and full HAR 1.2 export with WebSocket capture.
- Console & Screenshots: Supports rich object expansion in console logs, element-specific screenshots via
--selectoror--index, and continuous capture via--followmode. - Stale Cache Recovery: Automatically refreshes the DOM cache after navigation to ensure commands succeed without manual validation.