Skip to content

Instantly share code, notes, and snippets.

@up1
Last active January 10, 2025 07:23
Show Gist options
  • Save up1/0ce145f098a05436b767dfc015d1692f to your computer and use it in GitHub Desktop.
Save up1/0ce145f098a05436b767dfc015d1692f to your computer and use it in GitHub Desktop.
MCP server + Playwright
1. Navigate to website https://demo-frontend-reactjs.vercel.app
2. In the home page, check result in page
2.1 Show message "Call REST API 2024/12/25 new !!" in atrtribute "data-testid="message_text""
2.2 Show message "Hello World!" in attribute "data-testid="hello_text""
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["-y", "@executeautomation/playwright-mcp-server"]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment