Agent skill · software engineering · sundial-org
playwright-cli
Browser automation via Playwright CLI. Open pages, interact with elements, take screenshots, and more. Ideal for coding agents and automated testing workflows.
Why this skill is useful
Adds a comprehensive set of executable commands for browser automation that extend the AI's capabilities in testing and coding workflows.
What it needs
Requires node installed locally. About 2k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.
What this skill does
Playwright CLI Browser automation via Playwright. Token-efficient CLI for coding agents. Installation Core Commands Command Description --------- ------------- playwright-cli open <url> Open URL in browser playwright-cli close Close the page playwright-cli type <text> Type text into editable element playwright-cli click <ref> [button] Click on element playwright-cli dblclick <ref> [button] Double click playwright-cli fill <ref> <text> Fill text into field playwright-cli drag <startRef> <endRef> Drag and drop playwright-cli hover <ref> Hover over element playwright-cli check <ref> Check checkbox/radio playwright-cli uncheck <ref> Uncheck checkbox playwright-cli select <ref> <val> Select dropdown option playwright-cli snapshot Capture page snapshot for refs Navigation Keyboard & Mouse Save & Export Tabs DevTools Sessions Headed Mode Examples Environment Variables Variable Description ---------- ------------- PLAYWRIGHTMCPBROWSER Browser: chrome, firefox, webkit, msedge PLAYWRIGHTMCPHEADLESS Run headless (default: headed) PLAYWRIGHTMCPALLOWEDHOSTS Comma-separated allowed hosts PLAYWRIGHTMCPCONFIG Path to config file Configuration Create playwright-cli.json for persistent settings: Notes Cross-platform — requires Node.js 18+ (Linux, macOS, Windows) Sessions persist cookies/storage by default Use --session flag for isolated browser instances Snapshots return element refs for subsequent commands Source https://github.com/microsoft/playwright-cli
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills sundial-org/playwright-cli