Audit and fix accessibility issues across the portfolio to ensure WCAG 2.1 AA compliance.
The English summary is being prepared. Showing the original description.
Browser automation and testing using Playwright MCP server for visual regression, accessibility, route testing, and screenshot capture.
The English summary is being prepared. Showing the original description.
Review the instructions the agent will receive before you install.
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
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Audit and fix accessibility issues across the portfolio to ensure WCAG 2.1 AA compliance.
The English summary is being prepared. Showing the original description.
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.
The English summary is being prepared. Showing the original description.
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.
The English summary is being prepared. Showing the original description.
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.
The English summary is being prepared. Showing the original description.
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.
The English summary is being prepared. Showing the original description.
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.
The English summary is being prepared. Showing the original description.