interactive-browser-testing
Skill1 starsChanged 2 months agoMITView on GitHub
Interactive real-time browser testing with Playwright and MiniMax via mcpc
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
- keep-on-goingSkill
- mcpcSkill
- minimaxSkill
- pixellabSkill
- playwright-mcpSkill
- public-repo-maturitySkill
- searxngSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
BROWSER ONLY: - Never use curl/fetch/http clients
- Distinctive: line 26
SCREENSHOTS REQUIRED: - Every step must have visual proof
- Distinctive: line 28
AI ANALYSIS: - Use MiniMax via mcpc to analyze screenshots
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
What I do
Interactive real-time browser testing using Playwright and MiniMax via mcpc. No curl, no direct API calls - all testing through the browser.
Setup
mcpc connect ~/.mcpc/mcp.json:playwright @pw
mcpc connect ~/.mcpc/mcp.json:MiniMax @minimaxCritical Rules
- BROWSER ONLY - Never use curl/fetch/http clients
- SCREENSHOTS REQUIRED - Every step must have visual proof
- SNAPSHOT FIRST - Understand page before interacting
- AI ANALYSIS - Use MiniMax via mcpc to analyze screenshots
- ISSUES TO TRACKER - Log all issues found (check duplicates first)
Screenshot Storage
test-results/
├── screenshots/YYYY-MM-DD/ # Daily folders
└── reports/ # Test reportsThis directory should be in .gitignore.
Tools Reference
Navigation (mcpc @pw)
| Command | Use |
mcpc @pw tools-call browser_navigate url:=<url> | Go to URL |
mcpc @pw tools-call browser_navigate_back | Go back |
mcpc @pw tools-call browser_close | Close browser |
mcpc @pw tools-call browser_resize width:=1280 height:=720 | Resize window |
mcpc @pw tools-call browser_tabs action:="open" | Manage tabs |
Interaction (mcpc @pw)
| Command | Use |
mcpc @pw tools-call browser_click target:=<ref> | Click element (use ref from snapshot) |
mcpc @pw tools-call browser_type target:=<ref> text:=<text> | Type text |
mcpc @pw tools-call browser_press_key key:="Enter" | Press key |
mcpc @pw tools-call browser_hover target:=<ref> | Hover element |
mcpc @pw tools-call browser_drag startTarget:=<ref> endTarget:=<ref> | Drag and drop |
mcpc @pw tools-call browser_select_option target:=<ref> values:='["val"]' | Select dropdown |
mcpc @pw tools-call browser_fill_form fields:='[...]' | Fill multiple fields |
mcpc @pw tools-call browser_file_upload paths:='["/path"]' | Upload files |
mcpc @pw tools-call browser_handle_dialog accept:=true | Handle alerts |
Verification (mcpc @pw)
| Command | Use |
mcpc @pw tools-call browser_snapshot | Get page structure (USE FIRST) |
mcpc @pw tools-call browser_take_screenshot | Capture visual (REQUIRED) |
mcpc @pw tools-call browser_wait_for text:=<text> | Wait for text/element |
mcpc @pw tools-call browser_console_messages | Get console logs |
mcpc @pw tools-call browser_network_requests | Get network logs |
mcpc @pw tools-call browser_evaluate function:=<js> | Run JavaScript |
AI Analysis (mcpc @minimax)
| Command | Use |
mcpc @minimax tools-call understand_image prompt:=<prompt> image_source:=<path> | Analyze screenshots with AI |
mcpc @minimax tools-call web_search query:=<query> | Search web for info |
Testing Workflow
1. Setup
mkdir -p test-results/screenshots/$(date +%Y-%m-%d)
mkdir -p test-results/reports2. Verify App Running
1. mcpc @pw tools-call browser_navigate url:=<app-URL>
2. mcpc @pw tools-call browser_take_screenshot
3. mcpc @minimax tools-call understand_image prompt:="Describe the page" image_source:=<screenshot-path>
4. If fails, check logs and restart3. Execute Tests
For each step:
1. mcpc @pw tools-call browser_snapshot (understand current state)
2. mcpc @pw tools-call browser_click/browser_type (perform action)
3. mcpc @pw tools-call browser_wait_for text:=<expected>
4. mcpc @pw tools-call browser_take_screenshot (save to test-results/)
5. mcpc @minimax tools-call understand_image prompt:="Analyze..." image_source:=<screenshot>
6. mcpc @pw tools-call browser_console_messages (check errors)
7. If issue: check tracker for duplicates, then createAI Analysis Prompts
Forms:
"Analyze this form: 1) All fields visible 2) Labels correct 3) Validation state 4) Submit button state 5) Layout issues"Errors:
"Analyze this error: 1) Error message 2) Error type 3) User impact 4) Suggested fix"Dashboards:
"Analyze this dashboard: 1) All widgets loaded 2) Data correct 3) Charts rendered 4) No broken images"Screenshot Naming
01-description.png- Numbered stepsERROR-xx-description.png- Error states- Save to:
test-results/screenshots/YYYY-MM-DD/
Forbidden
- curl, fetch, http clients
- Testing without screenshots
- Skipping snapshot step
- Skipping AI analysis
- Creating duplicate issues
Report Format
## Test Report: [Feature]
**Date:** YYYY-MM-DD
**Screenshots:** test-results/screenshots/YYYY-MM-DD/
### Summary
- Status: PASS / FAIL
- Steps: X/Y passed
- Issues: [count]
### Steps
| # | Step | Status | Screenshot | Analysis |
|---|------|--------|------------|----------|
| 1 | Navigate | PASS | 01-nav.png | Page loaded |
### Issues
| Issue | Severity | Evidence | Tracker ID |
|-------|----------|----------|------------|
### Console Errors
[From mcpc @pw tools-call browser_console_messages]
### Recommendations
[What to fix]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.

