Tooluck logoTooluck
SKILL.md

browser-testing-with-devtools

Agent skill fromaddyosmani/agent-skills

Tests in real browsers via Chrome DevTools MCP. 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. Requires the chrome-devtools MCP server to be configured.

How to install browser-testing-with-devtools

install browser-testing-with-devtools
# install the agent-skills pack with the skills CLI
npx skills add addyosmani/agent-skills

# or add only this skill to Claude Code: copy the folder

skills/browser-testing-with-devtools/

# into

~/.claude/skills/browser-testing-with-devtools/ (all projects)

.claude/skills/browser-testing-with-devtools/ (one project)

skills/browser-testing-with-devtools/SKILL.md

MITFull file
1# Browser Testing with DevTools
2
3## Overview
4
5Use 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.
6
7## When to Use
8
9- Building or modifying anything that renders in a browser
10- Debugging UI issues (layout, styling, interaction)
11- Diagnosing console errors or warnings
12- Analyzing network requests and API responses
13- Profiling performance (Core Web Vitals, paint timing, layout shifts)
14- Verifying that a fix actually works in the browser
15- Automated UI testing through the agent
16
17**When NOT to use:** Backend-only changes, CLI tools, or code that doesn't run in a browser.
18
19## Setting Up Chrome DevTools MCP
20
21### Installation
22
23Add the following to your project's `.mcp.json` or Claude Code settings:
24
25```json
26{
27 "mcpServers": {
28 "chrome-devtools": {
29 "command": "npx",
30 "args": ["-y", "chrome-devtools-mcp@latest", "--isolated"]
31 }
32 }
33}
34```
35
36`-y` skips the npx install confirmation. By default the server launches Chrome with its own dedicated profile (under `~/.cache/chrome-devtools-mcp/`), separate from your personal browser; `--isolated` goes one step further and uses a temporary profile that is wiped when the browser closes. This is the right setup for most testing.
37…

Excerpt shown under the repository's MIT license.

More skills in agent-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates