web-browser

Control Chrome or Chromium via CDP to automate web page interactions.

9|2|Updated Nov 27, 2008
One-click install
npx skills add https://github.com/adragomir/dotfiles --skill web-browser-adragomir
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-browser
Source: https://github.com/adragomir/dotfiles/tree/main/.config/pi/agent/skills/web-browser
Command: npx skills add https://github.com/adragomir/dotfiles --skill web-browser-adragomir

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ws, and includes scripts (resource) components.

What problem does it solve?

Interacts with web pages by performing actions such as clicking buttons, filling out forms, and navigating links via CDP.

Core Features & Use Cases

  • Minimal CDP-based browser control for collaborative site exploration.
  • Automates navigation, element interaction, JavaScript evaluation, and screenshot capture.
  • Suitable for automated testing, QA, and data collection tasks.

Quick Start

Open Chrome with remote debugging enabled and navigate to a target URL.

Frequently Asked Questions about web-browser

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

FAQPage Schema
How do I automate web page interactions using Chrome DevTools Protocol?

Automate web page interactions using Chrome DevTools Protocol by controlling Chrome or Chromium to navigate, click elements, fill forms, evaluate JavaScript, and capture screenshots for testing and data collection.

What do I need to set up before automating Chrome for web testing?

Before automating Chrome for web testing, you need to launch Chrome or Chromium with remote debugging enabled, which exposes the WebSocket connection required by the CDP client to control the browser.

Can I use this to dismiss cookie consent modals during automated site exploration?

Yes, you can dismiss cookie consent modals during automated site exploration, as the CDP client includes built-in support for automated cookie modal dismissal on publicly accessible pages.

How do I capture screenshots of web pages via CDP?

Capture screenshots of web pages via CDP by issuing screenshot commands through the local script-based API, which controls the Chromium instance to retrieve images of the rendered page state.

Does this approach require external browser automation libraries?

No, this approach does not require external browser automation libraries, as it implements a minimal CDP client directly and depends only on a standard WebSocket library to communicate with Chrome.

What are the limitations of using a minimal CDP client for web automation?

Limitations of using a minimal CDP client for web automation include being restricted to Chrome or Chromium environments and focusing on publicly accessible pages, without high-level abstractions found in full testing frameworks.