chrome-cdp

Control Chrome tabs and run JavaScript via the DevTools Protocol.

1|1|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/s710082105/fine_d --skill chrome-cdp-s710082105
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chrome-cdp
Source: https://github.com/s710082105/fine_d/tree/main/embedded/skills/chrome-cdp
Command: npx skills add https://github.com/s710082105/fine_d --skill chrome-cdp-s710082105

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 (CDP) from a lightweight CLI, enabling scripted inspection, navigation, and debugging with explicit user approval when necessary.

Core Features & Use Cases

  • Session control: Connects to a running Chrome/CDP session and lists open pages.
  • Page interaction: Navigate, take screenshots, inspect DOM, evaluate JS, click elements, and fetch resources.
  • Automation & debugging: Use for automated testing, debugging pages, and performing repetitive browser tasks from scripts or AI-assisted workflows.

Quick Start

Start a CDP-enabled Chrome session and run commands to list pages or interact with a page.

Frequently Asked Questions about chrome-cdp

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

FAQPage Schema
How do I automate browser tasks using the Chrome DevTools Protocol?

You can automate browser tasks via CDP by connecting a CLI to a running Chrome instance to control tabs, capture screenshots, evaluate JS, and inspect the DOM for automated testing or scripted actions.

How do I capture screenshots and inspect DOM elements in a local Chrome session?

To capture screenshots and inspect DOM elements, connect to a running Chrome session via the DevTools Protocol to navigate pages, click elements, and evaluate JavaScript directly from lightweight scripts.

Can I use a CLI to run JavaScript and debug pages in a running Chrome instance?

Yes, you can use a lightweight CLI to connect to a running Chrome instance via the DevTools Protocol, enabling you to run JavaScript, debug pages, and perform repetitive browser actions locally.

Do I need to start a CDP-enabled Chrome session before automating browser tasks?

Yes, you must start a CDP-enabled Chrome session first, as the tool connects to an active DevTools Protocol endpoint to list open pages and execute scripted browser interactions.

What is the best way to perform automated testing and debugging in a local development environment?

The best way to perform automated testing and debugging locally is connecting to a running Chrome instance via CDP to control tabs, fetch resources, and execute scripted browser actions with explicit approval.