cli-cdp

Automate and inspect Chrome browser actions via the Chrome DevTools Protocol.

7|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/hashintel/brunch --skill cli-cdp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cli-cdp
Source: https://github.com/hashintel/brunch/tree/main/.agents/skills/cli-cdp
Command: npx skills add https://github.com/hashintel/brunch --skill cli-cdp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill enables users to control and automate Chrome browser sessions and inspect web pages efficiently through command-line commands, eliminating manual browser interactions.

Core Features & Use Cases

  • Browser Control: Launch, navigate, reload, and close browser tabs from the terminal.
  • Page Inspection: Extract accessibility trees, DOM snapshots, console logs, and network requests to diagnose web issues.
  • Automated Interaction: Automate clicking, filling forms, taking screenshots, and executing JavaScript on web pages for testing or data extraction.
  • Use Case: Develop automated workflows to test web page load performance and catch console errors without manual debugging.

Quick Start

Use the cdp-cli to list open pages, navigate to a target URL, and capture the console logs.

Frequently Asked Questions about cli-cdp

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

FAQPage Schema
How do I automate Chrome browser sessions via the command line?

Page inspection via Chrome DevTools Protocol allows you to extract accessibility trees, DOM snapshots, console logs, and network requests. This helps diagnose web issues and catch console errors during automated testing workflows without manual browser debugging.

Can I extract console logs and network requests for web debugging?

Yes, you can extract console logs and network requests to diagnose web issues. By navigating to a target URL with the CLI, you can capture the console output and network activity to identify errors during page load or automated interactions.

What is the best way to automate clicking forms and taking screenshots on web pages?

The best way to automate clicking forms and taking screenshots is using command-line browser automation. These tools execute JavaScript, fill forms, and capture page states programmatically, streamlining repetitive web interaction tasks for testing or data extraction.

Does cli-cdp work without installing additional browser automation dependencies?

Yes, cli-cdp operates without additional dependencies listed in its metadata. It uses scripts to directly control and inspect Chrome browser actions through the Chrome DevTools Protocol, allowing you to automate web page workflows seamlessly from your existing environment.

Why use command-line browser automation instead of manual web inspection?

Command-line browser automation eliminates manual browser interactions, allowing you to develop automated workflows that test web page load performance and catch errors efficiently. This approach streamlines repetitive inspection tasks and provides consistent diagnostic outputs.