원클릭으로
test-in-browser
Test a feature in the browser using the Playwright MCP server
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Test a feature in the browser using the Playwright MCP server
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Creates a git commit from staged/unstaged changes with an AI-generated commit message based on the diff and agent context. Attaches a git note with the AI reasoning when significant decisions were made.
Simplifies and refines Python code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise.
Simplifies and refines TypeScript/JavaScript code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise.
| name | test-in-browser |
| description | Test a feature in the browser using the Playwright MCP server |
You have access to a Playwright MCP server that lets you control a headless Chromium browser. Use it to verify features work end-to-end by navigating the running app, interacting with elements, and checking results.
The app needs to be running before you can browse it. Check if it's already up:
curl -s -o /dev/null -w "%{http_code}" http://localhost:5000/ || echo "not running"
If not running, start it:
script/server &
sleep 3 # Wait for both servers to start
Start at the root page:
http://localhost:5000/Use accessibility snapshots (not screenshots) to understand what's on the page. The accessibility tree gives you semantic structure — headings, buttons, form fields, links — which is more reliable than visual inspection.
Use the MCP tools to:
After interactions, take another accessibility snapshot to confirm the page updated correctly. Check for:
Summarize what you tested and the results:
| URL | Description |
|---|---|
http://localhost:5000/ | Main page — renders Hello island with greeting form |
The app uses React Islands — server-rendered HTML with selective React hydration:
data-island attributes in the HTMLdata-island="hello") is the main interactive componentdata-props attribute from the serverThe Hello island at / has:
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/hello | List all greetings |
| POST | /api/hello | Create greeting ({"message": "text"}) |
| GET | /api/hello/:id | Get single greeting |
| DELETE | /api/hello/:id | Delete greeting (returns 204) |
/ → verify island hydrates and shows form