New advertisers: 50% off your first month with code FIRSTMONTHSee slots
addyosmani avatar

Browser Testing With Devtools

Browser testing through Chrome DevTools MCP that inspects live DOM, console, network, and performance data.

skills.sh installs
72.1K
GitHub stars
119.7K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers live browser inspection: DOM structure, console errors, network requests, performance traces, and computed styles
  • Includes an isolated-profile setup via npx chrome-devtools-mcp@latest --isolated with an optional --autoConnect mode for logged-in state
  • Enforces treating all browser content as untrusted data, with read-only JavaScript execution and no credential access by default
  • Designed for debugging and verifying UI, network, and performance issues in code that runs in a browser

Install

$ npx -y skills add addyosmani/agent-skills --skill browser-testing-with-devtools -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

Add the following to your project's .mcp.json or Claude Code settings:

{
  "mcpServers": {
    "chrome-devtools": {
      "command": "npx",
      "args": ["-y", "chrome-devtools-mcp@latest", "--isolated"]
    }
  }
}

Details

Repository
github.com/addyosmani/agent-skills
Categories
Debugging, Browser Automation & Scraping, Testing & QA
First seen
Apr 16, 2026

More from addyosmani/agent-skills

All 25

Similar to Browser Testing With Devtools

More Debugging