chrome-cdp

Automate local Chrome sessions via the Chrome DevTools Protocol.

1|Updated Apr 17, 2026
One-click install
npx skills add https://github.com/alexgorbatchev/ai-registry --skill chrome-cdp-alexgorbatchev
Or copy as Structured Prompt for Agentโ–ผ
Please help me install this Agent Skill.
Skill: chrome-cdp
Source: https://github.com/alexgorbatchev/ai-registry/tree/main/skills/chrome-cdp
Command: npx skills add https://github.com/alexgorbatchev/ai-registry --skill chrome-cdp-alexgorbatchev

SYSTEM DOCUMENTATION & REQUIREMENTS

๐Ÿ’ก This Skill includes scripts (resource) components.

What problem does it solve?

Interact with a local Chrome browser session via the Chrome DevTools Protocol for automated debugging, testing, and page interaction without requiring Puppeteer.

Core Features & Use Cases

  • Lightweight CDP CLI that connects directly via WebSocket to a running Chrome instance.
  • List open pages, capture screenshots, evaluate JavaScript, navigate, read page HTML, and perform interactions across tabs.
  • Use cases include debugging complex UI flows, automating repetitive browser tasks, and validating page behavior in controlled environments.

Quick Start

Enable remote debugging in Chrome, start the skill, and begin issuing commands such as "list" to reveal targets or "shot <target>" to capture a screenshot.

Frequently Asked Questions about chrome-cdp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Chrome DevTools Protocol interactions without Puppeteer?โ–ผ

Automate Chrome DevTools Protocol interactions using a lightweight CDP CLI that connects directly via WebSocket to a running Chrome instance, enabling page inspection, navigation, and element interaction without requiring Puppeteer.

What do I need to run CDP automation scripts for browser testing?โ–ผ

Running CDP automation scripts requires a local Chrome instance with remote debugging enabled and a Node.js runtime to manage sessions and execute commands across browser tabs.

Can I capture screenshots and evaluate JavaScript across multiple tabs locally?โ–ผ

Capture screenshots and evaluate JavaScript across multiple tabs by listing open page targets and issuing commands to specific targets, allowing controlled debugging and automation workflows in a local Chrome session.

Why use a CLI for Chrome debugging instead of a full browser automation library?โ–ผ

Using a CLI for Chrome debugging provides a lightweight approach to interact with a local browser session via WebSockets, avoiding the overhead of a full automation library while still supporting script evaluation and UI flow validation.

Does Chrome DevTools Protocol automation work with user approval for each session?โ–ผ

Chrome DevTools Protocol automation works with user approval by utilizing a per-tab daemon that manages sessions and requires user consent before executing inspection, navigation, or interaction commands.