playwright-skill
Skill by sickn33
Playwright Skill has an AI assistant write and run scoped Playwright browser checks, including responsive layouts, screenshots and login flows. It is for developers and testers who want scripted browser tests run by a local Node executor.
Install playwright-skill
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/playwright-skill ~/.claude/skills/playwright-skillRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/playwright-skill ~/.gemini/antigravity-cli/skills/playwright-skillAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Playwright Skill lets an AI assistant write custom Playwright browser automation code and run it with a local Node executor. The source describes responsive viewport checks at desktop, tablet and mobile sizes, screenshots, login flow tests, form submission and broken link checks. Scripts are saved under /tmp and run from the skill directory, and the browser is visible by default.
The skill first looks for running dev servers on localhost and asks for a URL when none are found. Setup requires Node 22 or later and runs npm run setup to install Playwright and Chromium. The source is aimed at developers and QA testers who want scripted browser checks, and it warns that the executor is not a sandbox and should be used with test accounts.
Written from the project's SKILL.md and checked against it.
What it can do
- Dev server detectionFinds running localhost dev servers before testing and asks the user to choose when several are found.
- Responsive checksSets several viewport sizes and takes full page screenshots at each one.
- ScreenshotsSaves full page or error-handling screenshots to /tmp for review.
- Login flow testsFills login fields, submits the form and waits for a redirect to a dashboard URL.
- Form submission testsFills form fields, submits them and waits for a success message.
- Broken link checkCollects external links on a page and checks each one with a HEAD request.
- Inline executionRuns short Playwright code directly for quick one-off tasks like a screenshot.
- Custom HTTP headersAdds headers to all requests through environment variables for a run.
What you need
- Node.js 22 or later
- Playwright and Chromium installed by npm run setup
Try asking
- Check my localhost site on desktop and mobile and save screenshots.
- Write a Playwright test that logs in with a test account and checks the dashboard.
- Find broken external links on my contact page and list the results.
Good to know
- The executor runs arbitrary Node code with the current account's privileges and is not a sandbox.
- Screenshots, traces and session state can contain credentials or personal data.
- Setup downloads dependencies and a browser and can run package lifecycle code, so review it first.
- Context-wide headers are sent to all destinations in that context.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/playwright-skill/SKILL.md, skills/playwright-skill/lib/helpers.js, skills/playwright-skill/run.js. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
API_REFERENCE.md16 KB -
SKILL.md17 KB -
lib/helpers.js12 KB -
package.json652 B -
run.js5 KB
Alternatives to playwright-skill
All alternatives →Antigravity Workflows guides an assistant through multi-skill workflows for shipping a SaaS MVP, auditing web app security, building AI agents, running browser QA, and designing a domain model. It is for users who want several skills combined with verified checkpoints.
Guides building end-to-end test suites with Playwright and Cypress. It is for developers who write E2E tests, debug flaky tests, or set testing standards.
Upgrades Chrome or Firefox versions in the Flutter Web Engine and Framework tests. It verifies the version, updates config files, syncs CI builder JSON and runs local tests before the CIPD upload.
Builds reliable browser checks for real web workflows using semantic locators, bounded waits, isolated test data and explicit outcome checks. It is for developers and testers writing or debugging browser tests.
Diagnoses memory leaks in the Qwen Code CLI using heap snapshots and the chrome-devtools CLI. Built for developers investigating high memory use, unbounded growth, or object retention.
Guides an assistant through using Claude in Chrome, a browser extension whose tools act in the person's real Chrome with their own sign-ins. It is for users who want the assistant to work in their browser safely.
Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser
playwright-skill: common questions
Is the Playwright skill a sandbox?
No. The source says the executor runs arbitrary Node code with the current account's filesystem, environment and network privileges.
Does the browser run with a visible window?
Yes. The source says to use headless: false by default unless the user asks for headless mode.
Where are generated test scripts saved?
The source says scripts go to /tmp/playwright-test-*.js and not into the skill directory or the user's project.
How do I install playwright-skill?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is playwright-skill free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is playwright-skill safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to playwright-skill?
Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.
