browser-testing-with-devtools

Inspect live browser pages via Chrome DevTools MCP for debugging.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/cookeyholder/django-devcontainer-template --skill browser-testing-with-devtools-cookeyholder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: browser-testing-with-devtools
Source: https://github.com/cookeyholder/django-devcontainer-template/tree/main/.agent/skills/browser-testing-with-devtools
Command: npx skills add https://github.com/cookeyholder/django-devcontainer-template --skill browser-testing-with-devtools-cookeyholder

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Tests in real browsers. 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.

Core Features & Use Cases

  • Screenshot: Captures the current page state
  • DOM Inspection: Reads the live DOM tree
  • Console Logs: Retrieves console output (log, warn, error)
  • Network Monitor: Captures network requests and responses
  • Performance Trace: Records performance timing data
  • Element Styles: Reads computed styles for elements
  • Accessibility Tree: Reads the accessibility tree
  • JavaScript Execution: Runs JavaScript in the page context
  • Safety & Boundaries: Enforces security constraints and data handling rules
  • Workflow Guidance: Provides structured debugging workflow for UI, network, and performance issues

Quick Start

Install and configure the Chrome DevTools MCP server in your Claude Code settings to start browser-based testing.

Frequently Asked Questions about browser-testing-with-devtools

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

FAQPage Schema
How do I debug UI rendering issues in a live browser?

Capture console output for debugging by retrieving live logs, warnings, and errors from the browser page context using Chrome DevTools MCP. The agent reads console logs directly to identify JavaScript runtime exceptions and track application behavior.

Can I monitor network requests and responses during browser testing?

Record performance trace timing data for profiling by capturing performance traces with Chrome DevTools MCP. The agent records performance timing data to identify rendering bottlenecks, measure execution durations, and analyze page load performance metrics.

What's the best way to inspect the accessibility tree in a real browser?

Configure the Chrome DevTools MCP server in your Claude Code settings to enable browser-based testing. This setup bridges static code analysis and live browser execution, allowing the agent to see what the user sees and report findings without executing untrusted actions.

Are there security constraints when running JavaScript in the page context?

Debugging workflow covers UI inspection, network monitoring, and performance profiling in real browsers. Use Chrome DevTools MCP to capture screenshots, inspect the DOM, read console logs, monitor network traffic, and record performance traces for comprehensive runtime analysis.