Audit and fix accessibility issues across the portfolio to ensure WCAG 2.1 AA compliance.
日本語の概要は準備中です。原文の説明を表示しています。
Browser automation and testing using Playwright MCP server for visual regression, accessibility, route testing, and screenshot capture.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Playwright MCP provides browser automation capabilities through the Model Context Protocol, enabling AI agents to interact with web pages using structured accessibility snapshots.
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["@playwright/mcp@latest"]
}
}
}
playwright.config.tstests/playwright/tests/playwright/reports/tests/playwright/screenshots/# Run all tests
pnpm exec playwright test
# Run specific test file
pnpm exec playwright test routes.spec.ts
# Run with UI
pnpm exec playwright test --ui
# Run headed (visible browser)
pnpm exec playwright test --headed
# Run in debug mode
pnpm exec playwright test --debug
# Run screenshot capture tests
pnpm exec playwright test screenshots.spec.ts
# View screenshots
open tests/playwright/screenshots/
# Open HTML report
pnpm exec playwright show-report
| Category | File | Description |
|---|---|---|
| Routes | routes.spec.ts | All pages return 200 OK |
| Dynamic Routes | dynamic-routes.spec.ts | Blog, components, blocks |
| API Routes | api-routes.spec.ts | Sanity API, RSS, SEO |
| Visual Regression | visual-regression.spec.ts | Screenshot comparison |
| Accessibility | accessibility.spec.ts | WCAG 2.1 AA compliance |
| Performance | performance.spec.ts | Core Web Vitals |
| SEO | seo-meta.spec.ts | Meta tags, structured data |
| Interactions | command-menu.spec.ts | Command menu, theme toggle |
| Screenshots | screenshots.spec.ts | Full-page, responsive |
When Playwright MCP server is connected, these tools are available:
browser_navigate - Navigate to a URLbrowser_go_back - Go back in historybrowser_go_forward - Go forward in historybrowser_refresh - Refresh the pagebrowser_click - Click an elementbrowser_type - Type text into an elementbrowser_fill - Fill a form fieldbrowser_select_option - Select dropdown optionbrowser_hover - Hover over an elementbrowser_drag - Drag and dropbrowser_screenshot - Take a screenshotbrowser_take_screenshot - Take element screenshotbrowser_press_key - Press a keyboard keybrowser_tab_list - List open tabsbrowser_tab_new - Open new tabbrowser_tab_select - Select a tabbrowser_tab_close - Close a tabbrowser_run_code - Run Playwright codebrowser_network_requests - List network requestsbrowser_console_messages - Get console messagesbrowser_save_state - Save browser statebrowser_load_state - Load browser statepnpm exec playwright install
Increase timeout in playwright.config.ts or use --timeout flag
Adjust maxDiffPixelRatio in visual regression tests
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Audit and fix accessibility issues across the portfolio to ensure WCAG 2.1 AA compliance.
日本語の概要は準備中です。原文の説明を表示しています。
Creates a new blog post document in the Sanity studio. Use when the user wants to write a blog post, publish an article, or schedule a future post.
日本語の概要は準備中です。原文の説明を表示しています。
Creates a new certification document in the Sanity studio. Use when the user wants to add a credential, certificate, or professional accreditation to the Certifications collection.
日本語の概要は準備中です。原文の説明を表示しています。
Adds a new skill MD file to the studio's skills collection. Use when the user wants to author a new step-by-step recipe for the studio's in-app Skills tool or the .agents mirror.
日本語の概要は準備中です。原文の説明を表示しています。
Creates a new project document in the Sanity studio. Use when the user wants to add a new portfolio project, a case study, or a work sample to the Projects collection.
日本語の概要は準備中です。原文の説明を表示しています。
Creates a new experience document in the Sanity studio. Use when the user wants to add a job, role, internship, or work history entry to the Experience collection.
日本語の概要は準備中です。原文の説明を表示しています。