Source: Cursor 使用 Playwright MCP
Source File
AI 探索/Cusor 使用 Playwright MCP.md
Summary
Minimal how-to: JSON snippet for registering the Playwright MCP server in Cursor and an example natural-language prompt for driving browser automation tests (navigate, assert UI conditions, localStorage defaults).
Key Points
- MCP config uses
npxwith@playwright/mcp@latest. - Example workflow: navigate to a URL and specify assertions (card type, IDs, categories, default UI structure).
Related Concepts
Notes
Filename in the repo uses “Cusor”; the wiki page title keeps the user’s spelling for traceability.