web-browser

Control Chrome via CDP to navigate, interact, and capture screenshots.

Updated Aug 8, 2021
One-click install
npx skills add https://github.com/luanzeba/dotfiles --skill web-browser-luanzeba
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-browser
Source: https://github.com/luanzeba/dotfiles/tree/main/skills/web-browser
Command: npx skills add https://github.com/luanzeba/dotfiles --skill web-browser-luanzeba

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Automates browser interactions by remotely controlling Chrome/Chromium through the Chrome DevTools Protocol (CDP) to perform actions on web pages.

Core Features & Use Cases

  • Navigate to URLs, click elements, and run JavaScript in the page context using the CDP-based scripts in scripts/
  • Take screenshots, collect logs, and monitor network activity for testing or exploration
  • Support for multi-frame pages and cookie-consent automation via scripted helpers

Quick Start

Open Chrome with remote debugging enabled and use the provided scripts to navigate, interact, and capture results.

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 browser interactions using Chrome DevTools Protocol?

Automate web browser interactions by remotely controlling Chrome through the Chrome DevTools Protocol (CDP). The skill uses scripts to manage CDP connections, perform page navigation, click elements, and evaluate JavaScript.

Can I capture screenshots and monitor network activity during browser automation?

Yes, you can capture screenshots and monitor network activity during browser automation. The CDP-based scripts support taking screenshots, collecting logs, and monitoring network activity for web testing or exploration.

Does this browser automation approach support multi-frame pages and iframes?

Yes, this browser automation approach supports multi-frame pages and iframes. The scripts handle navigation and element interaction across pages and iframes in collaborative CDP sessions.

What do I need to run CDP scripts for web page automation?

To run CDP scripts for web page automation, you need Chrome or Chromium opened with remote debugging enabled. The skill relies on the 'ws' dependency to manage CDP connections and session handling.

How do I handle cookie consent popups during automated web testing?

Handle cookie consent popups during automated web testing using the scripted helpers provided by the skill. These scripts automate cookie-consent interactions to unblock navigation and element interaction.