microsoft/playwright-cli
View on GitHub ↗ ★ 14,870 TypeScript
CLI for common Playwright actions. Record and generate Playwright code, inspect selectors and take screenshots.
14 mentions on Hacker News by 12 people: 3 stories, 11 comments · first 2020-09-18 · latest 2026-07-03
20082026
-
I'd personally suggest Playwright-CLI: https://github.com/microsoft/playwright-cli It works much faster for me than the MCP servers I tried.
comment by egeozcan · 2026-07-03 · in The Safari MCP server for web developers -
Yes it does. https://github.com/microsoft/playwright-cli?tab=readme-ov-fi... I'm pretty sure OP wrote their own version of playwright because they didn't know this existed.
comment by abletonlive · 2026-03-25 · in Show HN: ProofShot – Give AI coding agents eyes to verify the UI they build -
…does not require any glue code. Playwright cli gives you basically all of this out of the box. https://github.com/microsoft/playwright-cli?tab=readme-ov-fi...
comment by abletonlive · 2026-03-25 · in Show HN: ProofShot – Give AI coding agents eyes to verify the UI they build -
What does this do that playwright-cli doesn't? https://github.com/microsoft/playwright-cli
comment by theshrike79 · 2026-03-24 · in Show HN: ProofShot – Give AI coding agents eyes to verify the UI they build -
https://github.com/microsoft/playwright-cli and https://agent-browser.dev/
comment by Torn · 2026-03-15 · in Chrome DevTools MCP (2025) -
Mostly, yes: https://github.com/microsoft/playwright-cli
comment by Torn · 2026-03-15 · in Chrome DevTools MCP (2025) -
How does this compare with playwright CLI? https://github.com/microsoft/playwright-cli
comment by cheema33 · 2026-03-15 · in Chrome DevTools MCP (2025) -
…more token-efficient combination of CLI tools plus agent skills. Microsoft explains it well here: https://github.com/microsoft/playwright-cli Beyond that, term-cli focuses on agent-centric features like file transfer, full mouse support,…
comment by eliasoe · 2026-03-04 · in Show HN: Term-CLI – interactive terminals for AI agents (for SSH/TUI/REPL flows) -
A very good example of this is playwright-cli vs Playwright MCP: https://github.com/microsoft/playwright-cli The biggest difference is state, but that's also kind of easy from CLI, the tool just have to store it on disk, not in process…
comment by kissgyorgy · 2026-02-25 · in Making MCP cheaper via CLI -
…are being rewritten as pure CLIs in order to support this new scenario. Thoughts on this? [0]: https://github.com/microsoft/playwright-cli
comment by sergiomattei · 2026-02-21 · in Show HN: Cmcp – Aggregate all your MCP servers behind 2 tools -
See also (the confusingly named) playwright-cli https://github.com/microsoft/playwright-cli Different from the cli used for running tests etc that comes bundled with PlayWright Sample use: playwright-cli open…
comment by tardismechanic · 2026-02-10 · in Show HN: Showboat and Rodney, so agents can demo what they've built