serkan-ozal/browser-devtools-skills/browser-devtools-cli
Claude Code and agent skill by serkan-ozal/browser-devtools-skills
- community
Checking that the SKILL.md file is still in the repository.
Automates browser interactions using Playwright for web testing, debugging, and automation. Use when the user needs to navigate websites, take screenshots, fill forms, click elements, extract page content (HTML/text), audit accessibility (ARIA/AX tree), measure Web Vitals performance, monitor console logs and HTTP requests, mock API responses, execute JavaScript in browser, inspect React components, compare UI with Figma designs, or perform non-blocking debugging with tracepoints, logpoints, and exception monitoring.
Install
npx vskill@latest install serkan-ozal/browser-devtools-skills/browser-devtools-cliSKILL.md
Browser DevTools CLI
Command-line interface for browser automation, debugging, and testing using Playwright. This CLI is for the browser platform; for Node.js backend debugging, use node-devtools-cli (see node-devtools-cli skill).
Installation
Quick Start
Ref-based workflow (recommended for AI agents): Call a11y take-aria-snapshot first to get refs (e1, e2, ...), then use refs in interaction click --selector "e1" or content take-screenshot --annotate for numbered element labels.
Global Options
| Option | Description | Default | |
|---|---|---|---|
--port <number> | Daemon server port | 2020 | |
--session-id <string> | Session ID for browser state persistence | auto | |
--json | Output results as JSON (recommended for AI) | false | |
--quiet | Suppress log messages | false | |
--verbose | Enable debug output | false | |
--timeout <ms> | Operation timeout | 30000 | |
--headless | Run browser in headless mode | true | |
--no-headless | Run browser with visible window | - | |
--persistent | Preserve cookies/localStorage | false | |
--no-persistent | Clear state on session end | - | |
--user-data-dir <path> | Browser user data directory | OS temp | |
--use-system-browser | Use system Chrome | false | |
--browser-path <path> | Custom browser path | auto |
AI Agent Recommended Options:
Tool Domains
The CLI provides tools organized by domain:
| Domain | Description | Reference | |
|---|---|---|---|
| navigation | Page navigation (go-to, back, forward, reload) | ||
| content | Content extraction (screenshot, PDF, HTML, text) | ||
| interaction | User interactions (click, fill, hover, scroll) | ||
| a11y | Accessibility snapshots (ARIA, AX tree) | ||
| o11y | Observability (Web Vitals, console, HTTP, traces) | ||
| debug | Non-blocking debugging (tracepoints, logpoints, exceptions) | ||
| stub | HTTP mocking (intercept, mock, clear) | ||
| sync | Synchronization (wait for network idle) | ||
| react | React DevTools integration | ||
| figma | Figma design comparison | ||
| execute | Batch JavaScript execution (run execute; VM has page, callTool) |
Execute is available in both CLI and MCP. Use it to run JavaScript and batch tool calls: CLI run execute --code "<js>" (optionally --timeout-ms); MCP tool execute with the same params. Inside the VM: `page` (browser only) — Playwright Page; use await page.title(), await page.evaluate(...), etc. `callTool(name, input, returnOutput?)` — invoke any tool; always `await`; name is underscore form (e.g. 'navigation_go-to'); input is an object (camelCase keys); returnOutput: true adds the result to the response toolOutputs. See execute reference for full bindings and args.
CLI Management Commands
Daemon Management
Session Management
Tool Discovery
Configuration
Updates
Examples
Basic Navigation and Screenshot
Form Automation
Performance Analysis
Accessibility Audit
Batch Execution (execute)
API Mocking
Non-Blocking Debugging
Shell Script for CI/CD
Interactive Mode (Human Users)
For manual exploration, an interactive REPL mode is available:
| Command | Description | |
|---|---|---|
help | Show available commands | |
exit, quit | Exit interactive mode | |
<domain> <tool> | Execute a tool |
Shell Completions
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationPassed, 53 of 100Effective. 1 run. Evaluated 9 months ago.
Source
- SKILL.md in the repositoryCheckingskills/browser-devtools-cli/SKILL.md
Popularity
- Repository stars
- 7
- Repository forks
- 1
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 1 Apr 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/serkan-ozal/browser-devtools-skills/browser-devtools-cli)