web-browser

Automate Chrome, Brave, or Edge browsers via Chrome DevTools Protocol.

47|11|Updated Nov 26, 2025
One-click install
npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill web-browser-majesticlabs-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-browser
Source: https://github.com/majesticlabs-dev/majestic-marketplace/tree/main/plugins/majestic-rails/skills/web-browser
Command: npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill web-browser-majesticlabs-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates browser interactions using a real browser via Chrome DevTools Protocol for authentic sessions.

Core Features & Use Cases

  • Commands to start browser, navigate, run JS, take screenshots, and more
  • Support for different browsers (Chrome, Brave, Edge)
  • CDP-based session control and debugging helpers

Quick Start

Install browser-cdp, start a browser with CDP, and issue commands

Frequently Asked Questions about web-browser

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

FAQPage Schema
How do I automate browser testing with Chrome DevTools Protocol?

Chrome DevTools Protocol (CDP) automates real browser control for testing by enabling direct communication with Chrome, Brave, or Edge. Start a CDP-enabled browser, then issue commands to navigate pages, execute JavaScript, capture screenshots, and verify DOM state—ideal for end-to-end tests requiring authentic sessions with real cookies and fingerprints.

Can I use CDP for web scraping with real browser sessions?

Yes, CDP-based browser automation supports web scraping with genuine user sessions. You can navigate URLs, run JavaScript to interact with dynamic content, capture the DOM, and extract data—preserving cookies and browser fingerprints for sites that detect or block headless scrapers.

What browsers does CDP-based automation support?

Chrome DevTools Protocol works with Chrome, Brave, and Edge browsers. Each can be started with CDP enabled and controlled through the same command set to navigate, execute scripts, take screenshots, and generate performance metrics or Lighthouse audits.

How do I capture screenshots and DOM state during browser automation?

After navigating to a page and executing any JavaScript interactions, use CDP commands to take screenshots, capture the full DOM, and retrieve console logs. These outputs help validate page state, verify rendering, and debug script execution during tests or scraping workflows.

Can I get performance metrics and Lighthouse audits from automated browser sessions?

CDP browser automation includes commands to generate performance insights and run Lighthouse audits on pages. After navigation and interaction, retrieve metrics and audit results to assess page speed, accessibility, and best-practice compliance programmatically.

Do I need Selenium or another framework to use Chrome DevTools Protocol?

No, CDP is a protocol that communicates directly with browsers; it does not require Selenium or other frameworks. This Skill provides direct CDP commands to start browsers, navigate, run JavaScript, and capture results—simplifying setup for testing and scraping workflows.