Hacker GitHub

← All repos

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

Mentions per year 14 mentions · busiest year 2026 (13)
20082026
  1. 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
  2. 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.
  3. …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...
  4. What does this do that playwright-cli doesn't? https://github.com/microsoft/playwright-cli
  5. https://github.com/microsoft/playwright-cli and https://agent-browser.dev/
    comment by Torn · 2026-03-15 · in Chrome DevTools MCP (2025)
  6. Mostly, yes: https://github.com/microsoft/playwright-cli
    comment by Torn · 2026-03-15 · in Chrome DevTools MCP (2025)
  7. How does this compare with playwright CLI? https://github.com/microsoft/playwright-cli
    comment by cheema33 · 2026-03-15 · in Chrome DevTools MCP (2025)
  8. …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,…
  9. 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
  10. …are being rewritten as pure CLIs in order to support this new scenario. Thoughts on this? [0]: https://github.com/microsoft/playwright-cli
  11. ▲ 1
    Tell HN: OpenCode/Claude Code and Playwright CLI is great for front end dev
    story by huey77 · 2026-02-19 · 1 comment
  12. 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…
  13. ▲ 3
    CLI for Common Playwright Actions
    story by saikatsg · 2026-02-07 · 0 comments
  14. ▲ 134
    Playwright CLI – Open/inspect/emulate pages, generate screenshots, record users
    story by svacko · 2020-09-18 · 21 comments