AI SummaryAutomates real browser interactions from the terminal using Playwright CLI for tasks like navigation, form filling, and data extraction. Useful for developers and AI assistants building UI automation workflows without writing test frameworks.
Install
# Add to your project root as SKILL.md curl -o SKILL.md "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/playwright/SKILL.md"
Description
Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging) via `playwright-cli` or the bundled wrapper script.
Playwright CLI Skill
Drive a real browser from the terminal using playwright-cli. Prefer the bundled wrapper script so the CLI works even when it is not globally installed. Treat this skill as CLI-first automation. Do not pivot to @playwright/test unless the user explicitly asks for test files.
Prerequisite check (required)
Before proposing commands, check whether npx is available (the wrapper depends on it): `bash command -v npx >/dev/null 2>&1 ` If it is not available, pause and ask the user to install Node.js/npm (which provides npx). Provide these steps verbatim: `bash
Verify Node/npm are installed
node --version npm --version
If missing, install Node.js/npm, then:
npm install -g @playwright/cli@latest playwright-cli --help ` Once npx is present, proceed with the wrapper script. A global install of playwright-cli is optional.
Quality Score
Good
87/100
Trust & Transparency
No License Detected
Review source code before installing
Verified Open Source
Hosted on GitHub — publicly auditable
Actively Maintained
Last commit Today
10.2k stars — Strong Community
569 forks