{"slug": "playwright-cli", "name": "Playwright CLI", "category": "productivity", "category_name": "Productivity", "description": "", "recommenders": 8, "commenters": 13, "warners": 0, "score": 8.095, "rising": -2.62, "first": "2026-02-10", "latest": "2026-09-30", "why": "the CLI + skill is much lighter on token usage. So far so good.", "why_is_quote": true, "has_verdict": false, "sentiment": {"recommend": 9, "neutral": 2, "compare": 3, "warn": 0}, "spark": [0, 0, 0, 3, 4, 0, 0, 0, 2, 0, 0, 0], "listed": true, "loved": [], "caveat": "", "short_quote": "the CLI + skill is much lighter on token usage. So far so good.", "kind": "", "icon": true, "domain": null, "github_repo": "github.com/microsoft/playwright-cli", "official_url": "https://github.com/microsoft/playwright-cli", "pricing": "", "aliases": ["Playwright CLI", "playwright-cli", "Playwright-CLI"], "verdict": null, "praise": [{"label": "", "summary": "", "quotes": [{"id": 780359008, "item_id": 48772438, "url": "https://news.ycombinator.com/item?id=48772438", "by": "egeozcan", "date": "2026-07-03", "stance": "recommend", "quote": "It works much faster for me than the MCP servers I tried.", "excerpt": "I'd personally suggest Playwright-CLI: https://github.com/microsoft/playwright-cli It works much faster for me than the MCP servers I tried.", "context": "", "use_case": "browser automation for agents", "switched_from": "", "story": "The Safari MCP server for web developers"}, {"id": 760756816, "item_id": 47547301, "url": "https://news.ycombinator.com/item?id=47547301", "by": "egeozcan", "date": "2026-03-27", "stance": "recommend", "quote": "I was using the built-in chrome skill but it was too unreliable for me. So I switched to playwright cli", "excerpt": "I was using the built-in chrome skill but it was too unreliable for me. So I switched to playwright cli and I can also have it use firefox to get help debugging browser-specific issues.", "context": "", "use_case": "browser automation", "switched_from": "built-in chrome skill", "story": "Anatomy of the .claude/ Folder"}, {"id": 760187024, "item_id": 47511689, "url": "https://news.ycombinator.com/item?id=47511689", "by": "gverrilla", "date": "2026-03-24", "stance": "recommend", "quote": "playwright-cli and agent-browser are much much better, give them a try.", "excerpt": "playwright-cli and agent-browser are much much better, give them a try.", "context": "", "use_case": "", "switched_from": "", "story": "Show HN: ProofShot \u2013 Give AI coding agents eyes to verify the UI they build"}, {"id": 758278672, "item_id": 47392417, "url": "https://news.ycombinator.com/item?id=47392417", "by": "Torn", "date": "2026-03-15", "stance": "recommend", "quote": "https://github.com/microsoft/playwright-cli", "excerpt": "https://github.com/microsoft/playwright-cli and https://agent-browser.dev/", "context": "", "use_case": "", "switched_from": "", "story": "Let your Coding Agent debug the browser session with Chrome DevTools MCP"}, {"id": 755970611, "item_id": 47248163, "url": "https://news.ycombinator.com/item?id=47248163", "by": "eliasoe", "date": "2026-03-04", "stance": "recommend", "quote": "Microsoft explains it well here", "excerpt": "The main difference is that term-cli is intentionally not MCP. There's been a shift away from MCP, to the 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, color annotations, joint agent+human sessions (via term-assist) and more. I ", "context": "", "use_case": "", "switched_from": "", "story": "Show HN: Term-CLI \u2013 interactive terminals for AI agents (for SSH/TUI/REPL flows)"}]}], "caveats": [], "who": [{"by": "imhoguy", "context": "decades-experienced SWE", "url": "https://news.ycombinator.com/item?id=49165011", "date": "2026-08-03"}, {"by": "huey77", "context": "frontend/full-stack dev", "url": "https://news.ycombinator.com/item?id=47068612", "date": "2026-02-18"}], "tags": [], "use_cases": ["browser automation", "browser automation for agents", "debugging websites", "rendering views for agents", "frontend dev with ai agent", "browser automation from command line"], "compared": [{"slug": "playwright", "name": "Playwright", "co": 5, "switched_from": 0, "switched_to": 0}, {"slug": "agent-browser", "name": "agent-browser", "co": 3, "switched_from": 0, "switched_to": 0}, {"slug": "claude-code", "name": "Claude Code", "co": 2, "switched_from": 0, "switched_to": 0}, {"slug": "opencode", "name": "OpenCode", "co": 2, "switched_from": 0, "switched_to": 0}, {"slug": "claude-opus", "name": "Claude Opus", "co": 2, "switched_from": 0, "switched_to": 0}], "makers": [], "threads": [{"url": "https://news.ycombinator.com/item?id=48769639", "title": "The Safari MCP server for web developers", "mentions": 2}, {"url": "https://news.ycombinator.com/item?id=47499672", "title": "Show HN: ProofShot \u2013 Give AI coding agents eyes to verify the UI they build", "mentions": 2}, {"url": "https://news.ycombinator.com/item?id=47390817", "title": "Let your Coding Agent debug the browser session with Chrome DevTools MCP", "mentions": 2}, {"url": "https://news.ycombinator.com/item?id=47157398", "title": "I made MCP cheaper in one command", "mentions": 2}, {"url": "https://news.ycombinator.com/item?id=49913571", "title": "Gemini 4 Argon", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=49161518", "title": "LLMs reward expertise", "mentions": 1}], "sentiment_by_month": {"2025-11": {}, "2025-12": {}, "2026-01": {}, "2026-02": {"recommend": 3, "compare": 1}, "2026-03": {"recommend": 4, "compare": 2}, "2026-04": {}, "2026-05": {}, "2026-06": {}, "2026-07": {"recommend": 2}, "2026-08": {"neutral": 1}, "2026-09": {"neutral": 1}, "2026-10": {}}, "quotes": [{"id": 798646785, "item_id": 49915424, "url": "https://news.ycombinator.com/item?id=49915424", "by": "gcy", "date": "2026-09-30", "stance": "neutral", "quote": "why certain app crashes or certain website does not load normally with playwright-cli", "excerpt": "I use 3.8 Flash for daily troubleshooting tasks e.g. help me find out why certain app crashes or certain website does not load normally with playwright-cli. Sure it's not as capable but it's fast and almost free (sufficient quota with pro account). The only thing that bugs me is that I need to use `--dangerously-skip-permissions` as it does not have auto review.", "context": "", "use_case": "debugging websites", "switched_from": "", "story": "Gemini 4 Argon"}, {"id": 786640179, "item_id": 49165011, "url": "https://news.ycombinator.com/item?id=49165011", "by": "imhoguy", "date": "2026-08-03", "stance": "neutral", "quote": "let it even use playwright-cli to get full rendering of the particular view", "excerpt": "As decades-exp SWE I love using Claude Design for any kind of app and web development, because it gives much faster visual feedback loop than changing views within deep framework stack. It much easier to \"tell\" coding agent what I need instead of writing wall of prose to define visual stuff. I reminds me old WYSIWYG and unlike Figma it has full HTML/CSS capabilities available. How I work with it: - I ask agent to ext", "context": "decades-experienced SWE", "use_case": "rendering views for agents", "switched_from": "", "story": "LLMs reward expertise"}, {"id": 780363632, "item_id": 48772727, "url": "https://news.ycombinator.com/item?id=48772727", "by": "jwr", "date": "2026-07-03", "stance": "recommend", "quote": "", "excerpt": "Also, spel (https://github.com/Blockether/spel) for persistent browser sessions (through a daemon) and Chromium, Firefox, and WebKit engines.", "context": "", "use_case": "browser automation", "switched_from": "", "story": "The Safari MCP server for web developers"}, {"id": 780359008, "item_id": 48772438, "url": "https://news.ycombinator.com/item?id=48772438", "by": "egeozcan", "date": "2026-07-03", "stance": "recommend", "quote": "It works much faster for me than the MCP servers I tried.", "excerpt": "I'd personally suggest Playwright-CLI: https://github.com/microsoft/playwright-cli It works much faster for me than the MCP servers I tried.", "context": "", "use_case": "browser automation for agents", "switched_from": "", "story": "The Safari MCP server for web developers"}, {"id": 760756816, "item_id": 47547301, "url": "https://news.ycombinator.com/item?id=47547301", "by": "egeozcan", "date": "2026-03-27", "stance": "recommend", "quote": "I was using the built-in chrome skill but it was too unreliable for me. So I switched to playwright cli", "excerpt": "I was using the built-in chrome skill but it was too unreliable for me. So I switched to playwright cli and I can also have it use firefox to get help debugging browser-specific issues.", "context": "", "use_case": "browser automation", "switched_from": "built-in chrome skill", "story": "Anatomy of the .claude/ Folder"}, {"id": 760187024, "item_id": 47511689, "url": "https://news.ycombinator.com/item?id=47511689", "by": "gverrilla", "date": "2026-03-24", "stance": "recommend", "quote": "playwright-cli and agent-browser are much much better, give them a try.", "excerpt": "playwright-cli and agent-browser are much much better, give them a try.", "context": "", "use_case": "", "switched_from": "", "story": "Show HN: ProofShot \u2013 Give AI coding agents eyes to verify the UI they build"}, {"id": 759999744, "item_id": 47499984, "url": "https://news.ycombinator.com/item?id=47499984", "by": "theshrike79", "date": "2026-03-24", "stance": "compare", "quote": "What does this do that playwright-cli doesn't?", "excerpt": "What does this do that playwright-cli doesn't? https://github.com/microsoft/playwright-cli", "context": "", "use_case": "", "switched_from": "", "story": "Show HN: ProofShot \u2013 Give AI coding agents eyes to verify the UI they build"}, {"id": 758278672, "item_id": 47392417, "url": "https://news.ycombinator.com/item?id=47392417", "by": "Torn", "date": "2026-03-15", "stance": "recommend", "quote": "https://github.com/microsoft/playwright-cli", "excerpt": "https://github.com/microsoft/playwright-cli and https://agent-browser.dev/", "context": "", "use_case": "", "switched_from": "", "story": "Let your Coding Agent debug the browser session with Chrome DevTools MCP"}, {"id": 758277968, "item_id": 47392373, "url": "https://news.ycombinator.com/item?id=47392373", "by": "cheema33", "date": "2026-03-15", "stance": "compare", "quote": "How does this compare with playwright CLI?", "excerpt": "How does this compare with playwright CLI? https://github.com/microsoft/playwright-cli", "context": "", "use_case": "", "switched_from": "", "story": "Let your Coding Agent debug the browser session with Chrome DevTools MCP"}, {"id": 755970611, "item_id": 47248163, "url": "https://news.ycombinator.com/item?id=47248163", "by": "eliasoe", "date": "2026-03-04", "stance": "recommend", "quote": "Microsoft explains it well here", "excerpt": "The main difference is that term-cli is intentionally not MCP. There's been a shift away from MCP, to the 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, color annotations, joint agent+human sessions (via term-assist) and more. I ", "context": "", "use_case": "", "switched_from": "", "story": "Show HN: Term-CLI \u2013 interactive terminals for AI agents (for SSH/TUI/REPL flows)"}, {"id": 754552896, "item_id": 47159556, "url": "https://news.ycombinator.com/item?id=47159556", "by": "kissgyorgy", "date": "2026-02-25", "stance": "recommend", "quote": "A very good example of this is playwright-cli vs Playwright MCP", "excerpt": "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 memory.", "context": "", "use_case": "browser automation", "switched_from": "", "story": "I made MCP cheaper in one command"}, {"id": 754527665, "item_id": 47157979, "url": "https://news.ycombinator.com/item?id=47157979", "by": "red_hare", "date": "2026-02-25", "stance": "compare", "quote": "a concrete example is playwright-mcp vs playwright-cli", "excerpt": "True for coding agents running SotA models where you're the human-in-the-loop approving, less true for your deployed agents running on cheap models that you don't see what's being executed. But yeah, a concrete example is playwright-mcp vs playwright-cli: https://testcollab.com/blog/playwright-cli", "context": "", "use_case": "browser automation for agents", "switched_from": "", "story": "I made MCP cheaper in one command"}, {"id": 753097792, "item_id": 47068612, "url": "https://news.ycombinator.com/item?id=47068612", "by": "huey77", "date": "2026-02-18", "stance": "recommend", "quote": "the CLI + skill is much lighter on token usage. So far so good.", "excerpt": "I just stumbled upon a recent repo for playwright via the CLI. I use OpenCode w/ Opus 4.6. After installing the skill in my repo Claude navigated my local running frontend and has grasped some UI/UX refactors I was struggling to convey. Thought I would share this for anyone running a similar set up doing frontend/full-stack work. I know playwright MCP is nothing new, but the CLI + skill is much lighter on token usage", "context": "frontend/full-stack dev", "use_case": "frontend dev with AI agent", "switched_from": "", "story": "Tell HN: OpenCode/Claude Code and Playwright CLI is great for front end dev"}, {"id": 751436400, "item_id": 46964775, "url": "https://news.ycombinator.com/item?id=46964775", "by": "tardismechanic", "date": "2026-02-10", "stance": "recommend", "quote": "See also (the confusingly named) playwright-cli", "excerpt": "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 https://demo.playwright.dev/todomvc/ --headed playwright-cli type \"Buy groceries\" playwright-cli press Enter playwright-cli type \"Water flowers\" playwright-cli press Enter playwright-cli check e21 playwright-cli", "context": "", "use_case": "Browser automation from command line", "switched_from": "", "story": "Show HN: Showboat and Rodney, so agents can demo what they've built"}]}