Playwright Local
Automates browser tests locally using Playwright, enabling fast, reproducible test execution without external dependencies.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add playwright-local npx -- -y @trustedskills/playwright-local
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"playwright-local": {
"command": "npx",
"args": [
"-y",
"@trustedskills/playwright-local"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The playwright-local skill enables AI agents to run automated browser tests locally using Playwright, a powerful tool for end-to-end testing of web applications. It allows users to write and execute test scripts that simulate user interactions with websites, ensuring functionality and performance across different browsers and devices.
When to use it
- Testing the responsiveness and functionality of a web application before deployment
- Automating repetitive browser tasks such as form submissions or navigation
- Validating cross-browser compatibility for a website
Key capabilities
- Execute end-to-end tests in multiple browsers (Chrome, Firefox, Safari)
- Simulate user interactions like clicks, input typing, and navigation
- Generate detailed reports on test outcomes and performance metrics
Example prompts
- "Run Playwright tests for the login page of our web app using Chrome and Firefox."
- "Automate a test that navigates to the homepage, searches for 'AI tools', and verifies the results."
- "Generate a report showing the success rate of all recent browser tests."
Tips & gotchas
- Ensure Playwright is properly installed and configured in your local environment before running tests.
- Test scripts may require specific dependencies or setup steps that should be documented for reproducibility.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.