Playwright Undetected
Patchright-based browser automation with bot detection bypass. For localhost testing, dev servers, web app QA, screenshots, and UI interactions without being blocked.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add playwright-undetected npx -- -y @trustedskills/playwright-undetected
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"playwright-undetected": {
"command": "npx",
"args": [
"-y",
"@trustedskills/playwright-undetected"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables automated browser interactions with bot detection bypass capabilities using Playwright. It leverages patchright, an undetectable fork of Playwright, to navigate websites, click elements, type text, and take screenshots while avoiding common anti-bot measures like Cloudflare and reCAPTCHA. The server mode ensures session persistence across multiple calls.
When to use it
- Automated testing: Run automated tests on web applications that employ bot detection techniques.
- Web scraping: Extract data from websites with aggressive anti-scraping measures.
- Task automation: Automate repetitive tasks like form filling or data entry on websites.
- Bypassing CAPTCHAs: Circumvent reCAPTCHA challenges during automated workflows.
Key capabilities
- Bot detection bypass (Cloudflare, reCAPTCHA)
- Localhost and private IP support
- Session persistence via server mode
- Full browser automation (navigate, click, type, screenshot)
- Available tools: navigate, screenshot, click, type, get_text, get_url, get_title, wait_for, launch, close
Example prompts
- "Navigate to
http://localhost:3000." - "Take a full-page screenshot and save it as
homepage.png." - "Click the element with selector
#my-button." - "Type '[email protected]' into the input field with selector '#email'."
Tips & gotchas
- Server Mode Required: This skill relies on server mode for session persistence; ensure you start the server before making requests. The initial installation and setup process is required to get this working correctly.
Requirements
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.
Installing this skill downloads the exact code at commit c02dd109, not the current state of the repository. This prevents supply-chain attacks from unauthorized updates.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.
Install command fetches the verified snapshot, not the live repository.