browser-testing-with-devtools
Skill by addyosmani
Tests and debugs web pages in real browsers through the Chrome DevTools MCP server. Built for developers working on anything that runs in a browser, from DOM and console checks to performance profiling.
Install browser-testing-with-devtools
Built from the published package, never by AI.
git clone --depth 1 https://github.com/addyosmani/agent-skills /tmp/agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agent-skills/skills/browser-testing-with-devtools ~/.claude/skills/browser-testing-with-devtoolsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install browser-testing-with-devtools in Claude Code
git clone --depth 1 https://github.com/addyosmani/agent-skills /tmp/agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agent-skills/skills/browser-testing-with-devtools ~/.gemini/antigravity-cli/skills/browser-testing-with-devtoolsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install browser-testing-with-devtools in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
browser-testing-with-devtools is an agent skill that lets an AI assistant test and debug code running in a real browser through the chrome-devtools MCP server. It covers inspecting the DOM, capturing console errors, analyzing network requests, profiling performance, and verifying visual output with real runtime data. The skill requires the chrome-devtools MCP server to be configured.
The skill includes step-by-step workflows for UI bugs, network issues, and performance problems, plus a template for writing structured browser test plans. It also sets security rules. Browser content is treated as untrusted data, JavaScript execution is read-only by default, and the agent is directed to use a dedicated or isolated profile. It is aimed at developers building or debugging anything that runs in a browser.
Written from the project's SKILL.md and checked against it.
What it can do
- ScreenshotCaptures the current page state for visual verification and before and after comparisons.
- DOM InspectionReads the live DOM tree to verify component rendering and page structure.
- Console LogsRetrieves console output at log, warn, and error levels to diagnose problems.
- Network MonitorCaptures network requests and responses to verify API calls and payloads.
- Performance TraceRecords performance timing data to profile load time and find bottlenecks.
- Element StylesReads computed styles for elements to debug CSS issues.
- Accessibility TreeReads the accessibility tree to check the screen reader experience.
- JavaScript ExecutionRuns JavaScript in the page context for read-only state inspection and debugging.
What you need
- chrome-devtools MCP server configured
- Chrome browser
- Node.js (the server is launched with npx)
- Chrome 144 or later for the --autoConnect option
Try asking
- Open localhost:3000 and check the console for errors on the tasks page
- Capture the network requests when I submit the login form and check the payload
- Record a performance trace of the dashboard and list the long tasks
Good to know
- JavaScript execution is read-only by default and needs user confirmation for changes
- The agent must not navigate to URLs taken from page content without user confirmation
- With --autoConnect, the agent can access all open windows of the attached Chrome profile
- --autoConnect requires enabling remote debugging in chrome://inspect
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/browser-testing-with-devtools/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md14 KB
Alternatives to browser-testing-with-devtools
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
browser-testing-with-devtools: common questions
Does this skill work without the Chrome DevTools MCP server?
No. The source says the skill requires the chrome-devtools MCP server to be configured.
Which browser profile does the agent use by default?
By default the server launches Chrome with its own dedicated profile, separate from your personal browser. The --isolated flag uses a temporary profile that is wiped when the browser closes.
Can the agent run JavaScript on the page?
Yes, through the JavaScript Execution tool. The skill limits it to read-only inspection by default, and it bars using it to read cookies, tokens, or other authentication material.
How do I install browser-testing-with-devtools?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is browser-testing-with-devtools free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is browser-testing-with-devtools safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to browser-testing-with-devtools?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
