Skip to content

Add cdpilot - Zero-dependency CDP automation CLI#167

Open
mehmetnadir wants to merge 1 commit intoChromeDevTools:masterfrom
mehmetnadir:add-cdpilot
Open

Add cdpilot - Zero-dependency CDP automation CLI#167
mehmetnadir wants to merge 1 commit intoChromeDevTools:masterfrom
mehmetnadir:add-cdpilot

Conversation

@mehmetnadir
Copy link
Copy Markdown

What is cdpilot?

cdpilot is a zero-dependency browser automation CLI that communicates directly with Chromium-based browsers over the Chrome DevTools Protocol via HTTP and WebSocket.

Key features:

  • Pure CDP - Uses HTTP + WebSocket directly (urllib + asyncio), no wrapper libraries
  • 40+ commands - Navigation, DOM interaction, debugging, network interception, device emulation, screenshots, PDF export, accessibility audits, and more
  • Built-in MCP server - JSON-RPC over stdin/stdout for AI agent integration
  • Zero dependencies - Python stdlib only, no pip packages needed
  • Node.js entry point - npx cdpilot finds Python3 and browser automatically
  • 50KB total size

Installation:

npx cdpilot launch

npm: https://www.npmjs.com/package/cdpilot
GitHub: https://github.com/mehmetnadir/cdpilot

Added to Libraries for driving the protocol as a Python/Node.js CDP client with CLI and MCP server capabilities.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants