This is a comprehensive reference for Playwright's browser automation API, covering everything from basic locator strategies to stealth mode and anti-bot bypass techniques. You'll want this when you're scraping protected sites, generating PDFs, or debugging why your CI keeps timing out. The skill draws clear boundaries: it handles Playwright-specific patterns and configuration, but explicitly punts architectural decisions like Page Object Models to the separate e2e-testing skill. Nice touch that it includes the actionability matrix and common gotchas like leaving page.pause() in CI code. The quick reference table is dense but practical, covering newer APIs like the Clock API for time-dependent tests and toMatchAriaSnapshot for accessibility validation.

skills.sh installs
466
GitHub stars
21
last updated
Aug 21, 2026

Install

$ npx -y skills add oakoss/agent-skills --skill playwright --agent claude-code

Installs into .claude/skills of the current project.

Files

Playwright

Overview

Playwright is a browser automation framework for Node.js and Python supporting Chromium, Firefox, and WebKit with a single API. It provides auto-waiting, web-first assertions, and full test isolation for reliable end-to-end testing.

When to use: Browser automation, web scraping, screenshot/PDF generation, API testing, configuring Playwright Test, troubleshooting Playwright errors, stealth mode and anti-bot bypass.

When NOT to use: Simple HTTP requests (use fetch), unit testing (use Vitest/Jest), serverless scraping at scale (consider Cloudflare Browser Rendering). For E2E test architecture (Page Object Models, CI sharding, test organization, authentication patterns), use the e2e-testing skill.

Quick Reference

Sponsors

Details

Repository
github.com/oakoss/agent-skills
Categories
Backend & APIs, Testing & QA, DevOps & CI/CD, Code Review & Quality, AI & Agent Building, Debugging, Automation & Workflows
First seen
Jun 3, 2026

More from oakoss/agent-skills

All 4
1replicate avatarreplicatereplicate/skillsDiscover, compare, and run AI models using Replicate's API459skills.sh installs
2sugarforever avataradd-feishusugarforever/01coder-agent-skillsAdd Feishu (飞书/Lark) as a channel. Uses WebSocket long connection mode — no public URL needed. Bot responds to all messages (no trigger required).459skills.sh installs
3mims-harvard avatartooluniverse-clinical-trial-designmims-harvard/tooluniverseStrategic clinical trial design feasibility assessment. Analyzes 6 dimensions (endpoint, population, comparator, effect size, duration, regulatory pathway) usin458skills.sh installs
4useai-pro avatarnetwork-watcheruseai-pro/openclaw-skills-securityAudit and monitor network requests made by OpenClaw skills. Detects data exfiltration, unauthorized API calls, and suspicious outbound connections.455skills.sh installs
5ythx-101 avatarx-tweet-fetcherythx-101/x-tweet-fetcherFetch tweets, replies, timelines, search results, X Lists, and X Articles from X/Twitter without login or API keys. Single tweets: zero dependencies (FxTwitter)455skills.sh installs
6openclaudia avatarbrand-monitoropenclaudia/openclaudia-skillsBrand monitoring and mention tracking via the Brand.dev API. Use when asked to monitor brand mentions, track sentiment, find PR opportunities, detect logo usage452skills.sh installs