Control Playwright browser automation
cliskillsetup L2★0
microsoft/playwright-cli ↗What it does
Token-efficient Playwright CLI for coding agents (browsers without page-tree in context)
Best for
High-throughput coding agents balancing web automation with large codebase context (avoids heavy MCP page-tree).
Inputs
- · URL to open
- · CLI command (click/type/fill/select/drag/drop/screenshot/etc)
Outputs
- · screenshot
- · page state after command
- · accessibility tree (on demand)
Requires
- · Playwright browser engine
- · Node.js 18+
Preconditions
Node.js 18+; Playwright CLI installed globally or via npm; session management optional
Failure modes
- · session killed prematurely
- · element selector invalid
- · headed mode not available on headless server
Trust signals
- · CLI vs MCP comparison documented
- · token-efficiency claim
- · session/profile persistence
- · headed/headless toggle