Verdex helps AI coding assistants write robust Playwright tests. It combines:
- MCP tools for token-efficient DOM exploration (100-1K tokens vs 10K+ dumps)
- that teach LLMs modern Playwright patterns and the Container → Content → Role methodology
에이전트 강화
게시자가 제공하는 설치 방식입니다. PlugMCP 엔드포인트가 아닙니다.
원격 URL인가요, 내 컴퓨터에서 실행하는 명령인가요? 두 설치 방식의 차이
PlugMCP에서 실행
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
실행AI assistants don't know how to write good Playwright tests or efficiently explore page structure. Verdex gives them both the tools and the knowledge.
Without Verdex — AI generates brittle selectors:
await page.getByRole('button', { name: 'Add to Cart' }).nth(8).click(); // 💀 Breaks on reorder
await page.locator('.btn-primary').first().click(); // 💀 Breaks on CSS change
With Verdex — AI generates stable selectors:
await page
.getByTestId('product-card')
.filter({ hasText: 'iPhone 15 Pro' })
.getByRole('button', { name: 'Add to Cart' })
.click(); // ✅ Survives any DOM restructuring
Playwright MCP gives AI a browser. Verdex teaches AI to write tests like a senior QA engineer.
{
"mcpServers": {
"verdex": {
"command": "npx",
"args": ["@verdex/mcp@latest"]
}
}
}
For Cursor:
mkdir -p .cursor/rules
cp node_modules/@verdex/mcp/.cursor/rules/*.mdc .cursor/rules/
For Claude: Use skills from node_modules/@verdex/mcp/.claude/skills/verdex-playwright-complete/
User: "Write a test that adds an iPhone to the cart"
AI (with Verdex):
→ Navigates to page, takes snapshot
→ Uses resolve_container to find stable test IDs
→ Uses inspect_pattern to find unique content
→ Generates container-scoped, role-based selector
→ Writes test following Playwright best practices
👉 Try the 60-second demo — See the full workflow in action
Use browser tools to understand the app:
browser_initialize()
browser_navigate("https://shop.example.com")
browser_click("e5") // Click using ref from snapshot
browser_snapshot() // See what changed
Build stable selectors with progressive DOM exploration:
resolve_container("e25") // Find containers with test IDs
inspect_pattern("e25", 2) // Analyze sibling structure
extract_anchors("e25", 1) // Mine deep content if needed
Write idiomatic Playwright tests:
test('should add product to cart', async ({ page }) => {
await page.goto('/products');
await page
.getByTestId('product-card')
.filter({ hasText: 'iPhone 15 Pro' })
.getByRole('button', { name: 'Add to Cart' })
.click();
await expect(page.getByText('Item added')).toBeVisible();
});
Test different user roles in isolated browser contexts:
{
"mcpServers": {
"verdex": {
"command": "npx",
"args": [
"@verdex/mcp@latest",
"--role", "admin", "/path/to/admin-auth.json", "https://admin.example.com",
"--role", "user", "/path/to/user-auth.json", "https://app.example.com"
]
}
}
}
Uses Playwright's storageState format for auth files.
The rules and skills are essential — they teach AI the patterns that make selectors stable.
Cursor Rules (.cursor/rules/):
cp node_modules/@verdex/mcp/.cursor/rules/*.mdc .cursor/rules/
Claude Skills (.claude/skills/):
We welcome contributions! See CONTRIBUTING.md for guidelines.
Areas we'd love help with:
Apache 2.0 — see LICENSE
Tools + Knowledge = Tests That Don't Break
MCP Server for Playwright Test Writing
도구
아직 도구 목록이 없습니다. 원격 서버는 첫 상태 확인 후에 도구 목록이 생깁니다.
FAQ
이 페이지에서 Cursor, Claude Desktop, Claude Code 또는 VS Code용 stdio 설정을 복사합니다. PlugMCP 프록시가 아니라 게시자의 설치 방식을 사용합니다.
이 레코드에는 필수 환경 변수가 등록되어 있지 않습니다.
Verdex은(는) stdio를 통해 로컬에서 실행됩니다.
마지막 확인: 2026-10-28. MCP Server for Playwright Test Writing