Install any skill in seconds. Free to start, no credit card required.
Get Started Free →lackeyjb/playwright-skill
Complete browser automation with Playwright. Auto-detects dev servers, writes clean test scripts to /tmp. Test pages, fill forms, take screenshots, check responsive design, validate UX, test login flows, check links, automate any browser task.
Passed 11 of 18 test cases with the skill, and 9 of 18 without it.
and 8 more in the full report
8 fixed6 passed either way3 still failing5 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 8 test cases the skill fixed. Same model, same prompt, with and without the skill.
When testing requires Firefox and WebKit in addition to Chromium, what command should be executed in the skill directory?
| Checked | Without skill | With skill |
|---|---|---|
| Specifies npm run install-all-browsers for installing Firefox and WebKit. | Missed | Passed |
The instructions your model reads when the skill loads.
Write and execute focused Playwright scripts for the user's request. Prefer the skill's executor and helpers, but use the full Playwright API when needed.
This skill can be installed in several locations, so resolve its directory
first. Set SKILL_DIR to the directory containing this SKILL.md file, then run
the commands below as written:
export SKILL_DIR=<absolute path of the directory containing this SKILL.md>
export TMP_DIR="$(node -p 'require("node:os").tmpdir()')"
If shell state does not persist between commands, substitute the literal paths
for $SKILL_DIR and $TMP_DIR in each command instead.
Common installation paths:
~/.claude/plugins/marketplaces/playwright-skill/skills/playwright-skill~/.claude/skills/playwright-skill<project>/.claude/skills/playwright-skillFor localhost work, detect running servers before writing a URL:
node -e "require('$SKILL_DIR/lib/helpers').detectDevServers().then(s => console.log(JSON.stringify(s)))"
Use the only result automatically. Ask which URL to use when there are multiple results. Ask for a URL or offer to start a server when none exist.
Write reusable scripts to $TMP_DIR/playwright-test-*.js unless the user
asks to save them in the project. Use PW_SCRIPT_DIR to preserve scripts.
Use a visible browser by default. Use headless: true only when requested
or when the environment has no display.
Put the target URL in a constant or environment variable.
test cases passed, vs 9 / 18 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.