cdp

Control Chrome via the DevTools Protocol for automation and scraping.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/HealthSamurai/health-samurai-io-bun --skill cdp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cdp
Source: https://github.com/HealthSamurai/health-samurai-io-bun/tree/main/skills/cdp
Command: npx skills add https://github.com/HealthSamurai/health-samurai-io-bun --skill cdp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a powerful interface to programmatically control a Chrome browser instance, enabling complex web automation, data scraping, and interaction tasks that are difficult or impossible to achieve with standard HTTP requests.

Core Features & Use Cases

  • Web Scraping: Extract specific data points, HTML content, or screenshots from dynamic web pages.
  • Form Automation: Fill out forms, click buttons, and interact with web elements.
  • Browser Control: Navigate pages, reload, manage cookies, and emulate different devices.
  • Use Case: Automatically log into a website, fill out a user profile, and take a screenshot of the completed page.

Quick Start

Use the cdp skill to navigate to https://example.com and then get the page title.

Frequently Asked Questions about cdp

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

FAQPage Schema
How do I automate web scraping on dynamic web pages that require JavaScript execution?

Automate web scraping on dynamic pages by using the Chrome DevTools Protocol (CDP) to control a Chrome browser instance, execute JavaScript, and extract specific data points or HTML content that standard HTTP requests cannot render.

How do I control a Chrome browser instance to automate filling out forms and interacting with web elements?

Control a Chrome browser instance via CDP to automate form interactions, fill out input fields, click buttons, and programmatically navigate pages without manual input.

Can I capture screenshots and emulate mobile devices when browser testing with Chrome DevTools Protocol?

Yes, browser testing with Chrome DevTools Protocol supports emulating different devices and capturing screenshots of web pages to verify responsive layouts and visual rendering.

Do I need a running Chrome instance with remote debugging enabled to use CDP for browser automation?

Yes, browser automation via CDP requires a running Chrome instance with remote debugging enabled to establish a connection and send control commands for web scraping and interaction tasks.

What is the best way to manipulate network requests during web automation tasks?

Manipulate network requests during web automation tasks by leveraging the Chrome DevTools Protocol to intercept, block, or modify HTTP traffic directly within the controlled Chrome browser instance.

When should I use CDP for web scraping instead of standard HTTP requests?

Use CDP for web scraping when target sites rely heavily on client-side JavaScript rendering or require complex interactions like form submissions that standard HTTP requests cannot execute or bypass.