Skip to content
Back to skills

Playwright

ASecurity

Browser automation with Playwright — testing, scraping, and E2E workflows. Use when you need to automate browser interactions, write E2E tests, or scrape web content.

  • 47 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 12, 2026
testinggotestingapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned September 12, 2026

npx -y skills add skeletorflet/opencode-supreme-setup --skill playwright --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Playwright?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Playwright
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/skeletorflet-playwright/badge)](https://www.skillsdirectory.com/skills/skeletorflet-playwright)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.