Browser automation with Playwright — testing, scraping, and E2E workflows. Use when you need to automate browser interactions, write E2E tests, or scrape web content.
Scanned 9/12/2026
Install to Claude Code
npx -y skills add skeletorflet/opencode-supreme-setup --skill playwright --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Playwright?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/skeletorflet-playwright)More formats (shields.io, HTML) on the badges page.
---
name: playwright
description: Browser automation with Playwright — testing, scraping, and E2E workflows. Use when you need to automate browser interactions, write E2E tests, or scrape web content.
---
## playwright
Browser automation with Playwright.
### Installation
npm init playwright@latest
npx playwright install chromium
### Core concepts
- Browser: Chrome, Firefox, Safari
- Context: isolated browser session
- Page: single tab
- Locator: find elements (page.locator())
- Assertion: verify state (expect())
### Common patterns
- Navigate: page.goto(url)
- Click: page.click(selector)
- Type: page.fill(selector, text)
- Wait: page.waitForSelector(selector)
- Screenshot: page.screenshot()
- Evaluate: page.evaluate(js)
### Best practices
- Use locators over XPath/CSS when possible
- Test user flows, not implementation
- Parallel test execution
- Screenshot on failure
- Use fixtures for test data
- Mock network requests for reliability
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Practical guide to testing web applications with screen readers for comprehensive accessibility validation.