hubcap

A command-line interface for Chrome DevTools Protocol. Control headless and headed Chrome from your terminal, scripts, and CI pipelines.

brew install tomyan/tap/hubcap

or 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
Browse all commands