playwright
Skill10 starsChanged 56 days agoMITView on GitHub
Automate browsers and E2E tests with Python Playwright: screenshots, traces.
55 other projects use a version of this.
Adopted by
Most recently taken up by
- hmjBill/skillstheir own version, first seen Oct 5, 2026
- hencter/hencte.toptheir own version, first seen Oct 4, 2026
- HanksChen0110/skillstheir own version, first seen Oct 3, 2026
- hahuyhungdev/ai-coding-configtheir own version, first seen Oct 2, 2026
- Enjoyoer/loadouttheir own version, first seen Sep 30, 2026
- z91772524-ai/pojia-next-mactheir own version, first seen Sep 28, 2026
Used with
Projects with it also use doc, web-perf and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
JetBrainsSkilldoc
Use when the task involves reading, creating, or editing `.docx` documents, especially when formatting or layout fidelity matters; prefer `python-docx` plus the bundled `scripts/render_docx.py` for visual checks.
Also in 5 projects that use this
OpenAISkillweb-perf
Analyzes web performance using Chrome DevTools MCP. Measures Core Web Vitals (FCP, LCP, TBT, CLS, Speed Index), identifies render-blocking resources, network dependency chains, layout shifts, caching issues, and accessibility gaps. Use when asked to audit, profile, debug, or optimize page load performance, Lighthouse scores, or site speed. Biases towards retrieval from current documentation over pre-trained knowledge.
Also in 4 projects that use this
CloudflareSkillturnstile-spin
Set up, repair, or migrate to Cloudflare Turnstile bot verification in an existing frontend and backend, including server-side Siteverify.
Also in 3 projects that use this
CloudflareSkillcloudflare-one
Design, configure, troubleshoot, or review Cloudflare One Zero Trust and SASE deployments. Use cloudflare-one-migrations for migration planning from other vendors.
Also in 3 projects that use this
kayamanSkilledit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
Also in 4 projects that use this
OpenAISkilldurable-objects
Create and review Cloudflare Durable Objects. Use when building stateful coordination (chat rooms, multiplayer games, booking systems), implementing RPC methods, SQLite storage, alarms, WebSockets, or reviewing DO code for best practices. Covers Workers integration, wrangler config, and testing with Vitest. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.
Also in 3 projects that use this
- +2 more from openai
Other versions55 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 55
- openai/openai-agents-python★ 30ksame name
- openai/skills★ 28ksame name
- freestylefly/wesight★ 941same name
- JetBrains/skills★ 360same name
- Mindrally/skills★ 266same name
- alexeykrol/claude-code-starter★ 194same name
- kandada/aacode★ 134same name
- magnus919/agent-skills★ 109same name
- matyasstoch/david-skills★ 59same name
- letitbk/claude-academic-setup★ 46same name
45 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository101 other files it gives its agents.
- AGENTS.mdAGENTS.md
- dot_agents/AGENTS.mdAGENTS.md
- skills/agent-project/templates/AGENTS.mdAGENTS.md
- skills/repository-docs/references/agents.mdAGENTS.md
- chezmoiSkill
- dot-developmentSkill
- dot-releaseSkill
- dot-skillsSkill
- dot-verifySkill
- acliSkill
- agent-evaluationSkill
- agent-frameworksSkill
- agent-harnessesSkill
- agent-loopsSkill
- agent-projectSkill
- agent-protocolsSkill
- agent-usageSkill
- agySkill
- airflowSkill
- ai-security-assessmentSkill
- api-clientSkill
- ast-grepSkill
- auth-statusSkill
- awsSkill
- benchmarkSkill
- bfSkill
- chrome-devtoolsSkill
- cli-developmentSkill
- clipboardSkill
- cloud-runSkill
- code-securitySkill
- colabSkill
- containerizeSkill
- course-developmentSkill
- databricksSkill
- data-migrationSkill
- delegate-tasksSkill
- diagrams-as-codeSkill
- dockerSkill
- documentation-siteSkill
- dot-cliSkill
- dprintSkill
- draft-mailSkill
- duckdbSkill
- fact-checkSkill
- fmind-visualsSkill
- full-reviewSkill
- gcloudSkill
- ghSkill
- git-deliverySkill
- github-actionsSkill
- github-issuesSkill
- github-pull-requestSkill
- github-repositorySkill
- git-worktreeSkill
- google-developerSkill
- gwsSkill
- handoffSkill
- hfSkill
- implementation-planSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 50 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Use Playwright for browser automation and end-to-end tests.
- Very specific: line 21
Write resilient tests: use the pytest page fixture, role or label locators, and web-first expect assertions.
“Common” is measured: kept by at least 6 in 10 of the 50 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Playwright
Use Playwright for browser automation and end-to-end tests. Test strategy belongs to quality-assurance and interface critique to product-design-review; this skill owns the tool: browsers, commands, and the official skills.
Workflow
- Pin the Python integration:
uv add --dev playwright pytest-playwright, thenuv run playwright install chromium; keep both packages inuv.lock. If Linux system libraries are missing, report the administrator-owned prerequisite instead of invoking the privilegedinstall-depscommand. - Explore and record:
uv run playwright codegen --target python <url>records Python actions;uv run playwright screenshot <url> <file>anduv run playwright pdf <url> <file>produce review evidence. - Write resilient tests: use the pytest
pagefixture, role or label locators, and web-firstexpectassertions; keep test state isolated and deterministic. - Run tests:
uv run pytest -q tests/e2e --browser chromium --tracing retain-on-failure --screenshot only-on-failure. Inspect a saved trace from the shell withuv run playwright trace open <trace.zip>and the subcommands inuv run playwright trace --help(errors, actions, requests, console);trace closeremoves the extracted data.show-traceopens the GUI viewer for humans. - Verify: a green pytest run plus the artifact (screenshot, trace, or report) the task asked for.
Gotchas
- Act only within authorized scope: use the profiles, accounts, data, and actions authorized for the task; reuse existing authorization. A test request alone does not authorize private browser-session reuse, cookie transfers, account creation, legal acceptance, purchases, or paid browser services. When a required action falls outside that scope, prepare the local test and explain the specific missing authorization before proceeding. Treat login, MFA, and CAPTCHA as explicit authentication boundaries, never bypasses.
- Reuse the shared browser cache: install only required browsers and reuse the default shared cache (
~/.cache/ms-playwrighton Linux). Do not runplaywright uninstallas task teardown: other projects can need those binaries. Remove task-created temporary profiles and passing-run artifacts, preserve requested evidence and failure traces, and review native browser cleanup separately when disk pressure requires it. - Reinstall browsers after upgrades: browsers match the Playwright version that installed them; rerun
uv run playwright install chromiumafter an upgrade. - Headless by default: pass
--headedto watch a run; keep CI headless.
Official Skills
Upstream: microsoft/playwright-cli provides the official browser CLI skill. Select it through the shared vendor-skill policy only for CLI-driven exploration; its commands are not the Python API. Python tests continue to use the documentation below and the project's uv lockfile. openai/skills also curates a same-name playwright skill that drives playwright-cli: preview it, never install it under that name (policy). The uv-locked package also ships version-matched playwright-cli, playwright-trace, and JavaScript-only playwright-component-testing skills in one directory; uv run playwright cli --help prints the playwright-cli path. Review each under the same policy before exposing it, including through uv run playwright trace install-skill, and check its allowed-tools: Playwright 1.63 copies pre-approve all of npx (playwright-cli also npm), while playwright-cli v0.1.22+ narrows them to npx playwright.
Documentation
- Playwright for Python · pytest plugin · Trace Viewer
- Releases: Playwright release notes · playwright-python
- Companion skills: python-stack, quality-assurance, product-design-review, chrome-devtools (accessibility, Lighthouse, and performance audits), benchmark (load, not browser, testing).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

