cdpilot
Zero-npm-dependency browser automation from your terminal. One command, full control.

Quick Start
npx cdpilot launch # Start browser with CDP
npx cdpilot go https://example.com
npx cdpilot shot # Take screenshot
No config files. No boilerplate. Just npx and go.
Why cdpilot?
AI agents and developers need browser control that just works:
- Zero config —
npx cdpilot launch starts an isolated browser session
- Zero npm dependencies — No Puppeteer, no Playwright, no Selenium. Pure CDP over HTTP/WebSocket; the Python side needs one package,
websockets (the setup wizard installs it)
- 70+ commands — Navigate, click, type, screenshot, network, console, accessibility, video understanding, progressive anti-bot resilience, and more
- AI-agent friendly — Designed for Claude, GPT, Gemini, and any LLM tool-use workflow
- Isolated sessions — Your personal browser stays untouched. cdpilot runs in its own profile
- Visual feedback — Green glow overlay, cursor visualization, click ripples, and keystroke display keep you informed during automation
- Multi-project isolation — Each project gets its own browser instance and port automatically, no conflicts
- AI control warning — Red toast notification appears when you hover during active automation
- Privacy-first — Everything runs locally; nothing leaves your machine unless you opt in (CAPTCHA solver keys,
tls-check, proxies)
Browser Selection (Workload-Aware Auto-Pick)
cdpilot picks the right browser for what you're doing. auto (default) is a
two-axis policy — extension workload × platform stability:
| Your workload | Auto-pick order |
|---|
Has extensions registered (ext-install) | vivaldi → brave → edge → chromium → chrome (→ Chrome for Testing, if installed) |
| No extensions (pure automation) | chrome → vivaldi → edge → chromium → brave |
Override anytime:
cdpilot browser # show current pick + reason
cdpilot browser vivaldi # pin to Vivaldi
cdpilot browser chrome-for-testing # pin to Chrome for Testing (after installing it, below)
cdpilot browser auto # restore smart default
Why the split?
- Chrome 137+ silently drops
--load-extension for unpacked extensions
(no error, no warning) — Google removed it from branded Chrome builds
(PSA).
Verified — chrome://extensions shows 0 items.
- Vivaldi, Brave, Edge, Chromium and Chrome for Testing honor
--load-extension (tested).
- On macOS 26 (Tahoe) Brave 1.89 crashes deterministically at ~7min
uptime (SIGTRAP in ThreadPoolForegroundWorker). cdpilot detects the OS
and demotes Brave automatically until a fixed Brave release ships.
Each browser gets its own isolated profile (~/.cdpilot/.../profile-vivaldi
etc.) so switching never causes prefs corruption.
Extension development: Chrome for Testing
If you develop an extension against Chrome itself, install
Chrome for Testing (CfT) —
the Chrome team's versioned, non-auto-updating Chrome build for automation, which
still loads unpacked extensions:
cdpilot browser install chrome-for-testing # latest Stable
cdpilot browser install chrome-for-testing --channel beta # stable | beta | dev | canary
cdpilot browser install chrome-for-testing --version 154 # a milestone, or a full version (154.0.8037.57)
cdpilot ext-install ./my-extension/ # register your unpacked extension
cdpilot browser status # shows the CfT version and path