browser-testing-with-devtools

Featured

Tests in real browsers. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data via Chrome DevTools MCP.

Testing & QA 10,628 stars 1156 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Browser Testing with DevTools ## Overview Use Chrome DevTools MCP to give your agent eyes into the browser. This bridges the gap between static code analysis and live browser execution — the agent can see what the user sees, inspect the DOM, read console logs, analyze network requests, and capture performance data. Instead of guessing what's happening at runtime, verify it. ## When to Use - Building or modifying anything that renders in a browser - Debugging UI issues (layout, styling, interaction) - Diagnosing console errors or warnings - Analyzing network requests and API responses - Profiling performance (Core Web Vitals, paint timing, layout shifts) - Verifying that a fix actually works in the browser - Automated UI testing through the agent **When NOT to use:** Backend-only changes, CLI tools, or code that doesn't run in a browser. ## Setting Up Chrome DevTools MCP ### Installation ```bash # Add Chrome DevTools MCP server to your Claude Code config # In your project's .mcp.json or Claude Code settings: { "mcpServers": { "chrome-devtools": { "command": "npx", "args": ["@anthropic/chrome-devtools-mcp@latest"] } } } ``` ### Available Tools Chrome DevTools MCP provides these capabilities: | Tool | What It Does | When to Use | |------|-------------|-------------| | **Screenshot** | Captures the current page state | Visual verification, before/after comparisons | | **DOM Inspection** | Reads the live DOM tree | Verify component rendering, c...

Details

Author
addyosmani
Repository
addyosmani/agent-skills
Created
1 months ago
Last Updated
4 days ago
Language
Shell
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category