5 ms·
the CLI is also Microsoft's preferred way to use it with agents: > playwright-cli is best for coding agents (Claude Code, GitHub Copilot, etc.) that favor toke
by beaugunderson 3mo ago
the CLI is also Microsoft's preferred way to use it with agents:
> playwright-cli is best for coding agents (Claude Code, GitHub Copilot, etc.) that favor token-efficient, skill-based workflows. CLI commands avoid loading large tool schemas and verbose accessibility trees into the model context.
they do still recommend the MCP for long-running autonomous workflows (e.g. a UAT agent).
- jeffyaw 3mo agoi will be digging into the CLI option, kudos.