chrome-devtools
CommunityAutomate Chrome, debug web pages, capture insights.
System Documentation
What problem does it solve?
Manually interacting with Chrome DevTools for debugging, scraping, or automation is repetitive and time-consuming, often leading to browser lock issues and inefficient workflows. This skill provides programmatic control over Chrome, streamlining web-related tasks with optimized performance.
Core Features & Use Cases
- Programmatic Browser Control: Automate navigation, clicks, form filling, and JavaScript execution on web pages.
- Web Debugging & Inspection: Capture console messages, inspect network requests, and take full-page screenshots or content snapshots.
- Optimized Performance Patterns: Utilizes a
cleanup; sleep; echo commands | timeout shellpattern to prevent browser lock conflicts and ensure fast, reliable execution. - Use Case: Automatically navigate to a web application, log in, perform a series of actions, and then capture console errors and network requests for a daily health check report, significantly reducing manual effort.
Quick Start
Check Console Errors on localhost (FASTEST)
pkill -9 -f "chrome-devtools-mcp" 2>/dev/null; sleep 1; echo -e 'navigate_page {"url":"http://localhost:3000"} list_console_messages {"pageIdx":0} exit' | timeout 30 mcp shell bunx -y chrome-devtools-mcp@latest -- --isolated
Screenshot a Page
pkill -9 -f "chrome-devtools-mcp" 2>/dev/null; sleep 1; echo -e 'navigate_page {"url":"https://example.com"} take_screenshot {"fullPage":true,"format":"png"} exit' | timeout 30 mcp shell bunx -y chrome-devtools-mcp@latest -- --isolated
Dependency Matrix
Required Modules
Components
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: chrome-devtools Download link: https://github.com/Cygnusfear/claude-stuff/archive/main.zip#chrome-devtools Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.