playwright-mcp
Skill1 starsChanged 2 months agoMITView on GitHub
Browser automation and testing via Playwright (mcpc) — navigate, interact, verify, and screenshot web pages. Use for E2E testing, UI verification, web scraping, and browser-based workflows. Tools: browser_navigate, browser_click, browser_type, browser_snapshot, browser_take_screenshot, browser_wait_for, browser_evaluate. Keywords: playwright, browser automation, e2e testing, ui testing, web scraping, screenshot, browser mcp.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- ella79/agentic-playwright-suitetheir own version, first seen Sep 20, 2026
- beelabstudio/aitheir own version, first seen Sep 20, 2026
- weininghui/skillstheir own version, first seen Aug 23, 2026
- Hainrixz/editor-pro-maxtheir own version, first seen Mar 26, 2026
- BhavinM/my-claude-setuptheir own version, first seen Feb 16, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- Hainrixz/editor-pro-max★ 259same name
- ella79/agentic-playwright-suite★ 8same name
- weininghui/skills★ 1same name
- beelabstudio/ai★ 0same name
- BhavinM/my-claude-setup★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository30 other files it gives its agents.
- arch-linux-cachyosSkill
- arch-linux-triageSkill
- bash-defensive-patternsSkill
- bash-linuxSkill
- bash-scriptingSkill
- beansSkill
- context7Skill
- docker-compose-setupSkill
- audioSkill
- deploymentSkill
- ecsSkill
- game-loopSkill
- inputSkill
- physicsSkill
- renderingSkill
- resourcesSkill
- ebitenSkill
- geminiSkill
- go-browser-testsSkill
- go-devSkill
- go-fluent-testingSkill
- go-htmx-frontendSkill
- go-setupSkill
- interactive-browser-testingSkill
- keep-on-goingSkill
- mcpcSkill
- minimaxSkill
- pixellabSkill
- public-repo-maturitySkill
- searxngSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 0 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 104
Start every session with mcpc @pw tools-call browser_navigate to set the initial URL
- Very specific: line 105
Use mcpc @pw tools-call browser_snapshot to discover element selectors — don't guess CSS selectors
- Very specific: line 108
Use mcpc @pw tools-call browser_evaluate sparingly — prefer native tool interactions
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
What this does
Controls a real browser via Playwright for navigation, interaction, verification, and visual capture. Use for E2E testing, UI verification, web scraping, and browser-based workflows.
Setup
mcpc connect ~/.mcpc/mcp.json:playwright @pwTools
Navigation
| Tool | Key params | Description |
browser_navigate | url: str | Go to URL |
browser_navigate_back | — | Go back |
browser_close | — | Close browser |
browser_resize | width: num, height: num | Resize window |
browser_tabs | action: enum | Manage tabs (open, close, select) |
Interaction
| Tool | Key params | Description |
browser_click | target: str | Click element (use ref from snapshot) |
browser_type | target: str, text: str | Type text into element |
browser_press_key | key: str | Press keyboard key |
browser_hover | target: str | Hover over element |
browser_drag | startTarget: str, endTarget: str | Drag and drop |
browser_select_option | target: str, values: [str] | Select dropdown option |
browser_fill_form | fields: [obj] | Fill multiple form fields |
browser_file_upload | paths?: [str] | Upload files |
browser_handle_dialog | accept: bool | Handle alert/confirm/prompt dialogs |
browser_drop | target: str | Drop element |
Verification
| Tool | Key params | Description |
browser_snapshot | target?: str | Get page accessibility tree (USE FIRST before interacting) |
browser_take_screenshot | type?: enum | Capture screenshot (REQUIRED for visual proof) |
browser_wait_for | time?: num, text?: str | Wait for condition |
browser_console_messages | level?: enum | Get console logs |
browser_network_requests | filter?: str | Get network request log |
browser_network_request | index: int | Get specific network request details |
browser_evaluate | function: str | Run JavaScript in browser |
browser_run_code_unsafe | code?: str | Execute arbitrary code (use with caution) |
Workflow
Standard testing loop
1. mcpc @pw tools-call browser_navigate url:="http://localhost:3000"
2. mcpc @pw tools-call browser_snapshot → understand page structure
3. mcpc @pw tools-call browser_click/browser_type → perform action
4. mcpc @pw tools-call browser_wait_for text:="expected result"
5. mcpc @pw tools-call browser_take_screenshot → visual proof
6. mcpc @pw tools-call browser_console_messages → check for errorsForm filling
1. mcpc @pw tools-call browser_snapshot → identify form fields
2. mcpc @pw tools-call browser_fill_form fields:='[{"target":"email","value":"test@example.com"},{"target":"password","value":"secret123"}]'
3. mcpc @pw tools-call browser_click target:="submit button"
4. mcpc @pw tools-call browser_wait_for text:="Welcome"
5. mcpc @pw tools-call browser_take_screenshot → verify resultDebugging
1. mcpc @pw tools-call browser_snapshot → get current state
2. mcpc @pw tools-call browser_console_messages level:="error" → check errors
3. mcpc @pw tools-call browser_network_requests filter:="api" → check API calls
4. mcpc @pw tools-call browser_take_screenshot → visual stateCritical rules
- SNAPSHOT FIRST — Always run
mcpc @pw tools-call browser_snapshotbefore interacting to understand page structure and get element refs - Use refs — Elements from snapshot have
refattributes; use these astargetvalues - Screenshots — Take screenshots at every significant step for visual evidence
- Wait — Use
mcpc @pw tools-call browser_wait_forafter actions to ensure page has updated - Check console — Run
mcpc @pw tools-call browser_console_messagesto catch JavaScript errors
Best practices
- Start every session with
mcpc @pw tools-call browser_navigateto set the initial URL - Use
mcpc @pw tools-call browser_snapshotto discover element selectors — don't guess CSS selectors - Chain actions: snapshot → interact → wait → screenshot → verify
- Close browser with
mcpc @pw tools-call browser_closewhen done to free resources - Use
mcpc @pw tools-call browser_evaluatesparingly — prefer native tool interactions
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

