Hacker News new | ask | show | jobs
by jeffyaw 25 days ago
playwright is AWESOME for e2e testing (works great with electron!).

although, i use the playwright mcp. :)

1 comments

The CLI is, IME, faster and less buggy than the MCP.
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).

i will be digging into the CLI option, kudos.