Hubcap

Chrome DevTools Protocol CLI for AI agents

Control headless and headed Chrome from your terminal, scripts, and CI pipelines. 118 commands spanning navigation, DOM queries, form filling, screenshots, network interception, device emulation, accessibility audits, performance profiling, and more.

Install

Via Homebrew:

brew install tomyan/tap/hubcap

Or with Go:

go install github.com/tomyan/hubcap/cmd/hubcap@latest

Quick start

hubcap setup launch
hubcap goto https://example.com
hubcap click '#login-button'
hubcap fill '#email' 'user@example.com'
hubcap screenshot --output page.png

Features