browser-testing
Use when testing web applications, debugging browser console errors, automating form interactions, or verifying UI implementations. Load for localhost testing, authenticated app testing (Gmail, Notion), or recording demo GIFs. Requires Chrome extension 1.0.36+, Claude Code 2.0.73+, paid plan.
When & Why to Use This Skill
This Claude skill enables comprehensive browser-based testing and debugging through seamless Chrome integration. It empowers developers to automate UI verification, capture console logs, and simulate user interactions on both local and authenticated web applications, significantly streamlining the quality assurance and web development workflow.
Use Cases
- Automated UI Verification: Use DOM analysis and automated screenshots to ensure web elements are rendered correctly across different pages.
- Real-time Console Debugging: Monitor, capture, and filter browser console messages to identify and resolve JavaScript errors or network issues instantly.
- End-to-End Form Automation: Simulate complex user inputs and multi-step form submissions to validate validation logic and backend integration.
- Localhost & Authenticated Testing: Perform rigorous testing on local development servers or within secure, authenticated sessions like Gmail, Notion, or internal dashboards.
- Visual Bug Reporting: Generate high-quality demo GIFs and screenshots of browser interactions to provide clear evidence for bug reports and feature demonstrations.
| name | browser-testing |
|---|---|
| description | "Use when testing web applications, debugging browser console errors, automating form interactions, or verifying UI implementations. Load for localhost testing, authenticated app testing (Gmail, Notion), or recording demo GIFs. Requires Chrome extension 1.0.36+, Claude Code 2.0.73+, paid plan." |
| keywords | browser, chrome, testing, console, debug, forms, ui, gif, localhost |
Browser Testing
Test and debug web applications via Chrome integration.
Prerequisites
| Requirement | Minimum |
|---|---|
| Chrome extension | 1.0.36+ |
| Claude Code CLI | 2.0.73+ |
| Plan | Pro/Team/Enterprise |
Instructions
- Enable Chrome:
claude --chromeor/chrome - Get tab context:
tabs_context_mcp - Navigate:
navigateto URL - Interact:
find,form_input,computer - Verify:
read_console_messages,read_page - Evidence:
computer(action="screenshot")
Quick Commands
# Check for console errors
scripts/check-console-errors.sh TAB_ID
# Verify page loaded
scripts/verify-page-load.sh TAB_ID URL
# Run smoke test
scripts/smoke-test.sh URL
MCP Tools
| Tool | Purpose |
|---|---|
tabs_context_mcp |
Get tab IDs (call first) |
navigate |
Go to URL |
computer |
Click, type, screenshot |
find |
Find element by description |
form_input |
Fill form fields |
read_console_messages |
Debug with pattern filter |
read_page |
Get DOM/accessibility tree |
gif_creator |
Record interactions |
References
| File | Load When |
|---|---|
| references/patterns.md | Designing test scenarios |
| references/examples.md | Need concrete examples |