Hacker ApprovedDepartments

Playwright

Hacker Approved

The most recommended of 12 browser automation tools

A fast, easy-to-set-up browser automation and testing tool with auto-waiting and screenshots, widely used to let AI coding agents check their UI work; tests can still be brittle.

A fast, easy-to-set-up browser automation and testing tool with auto-waiting and screenshots, widely used to let AI coding agents check their UI work; tests can still be brittle.

165 people gave an opinion

recommend it
137
criticize it
28
approval share
83%
Each figure is 2 people. RecommendsCriticizes

Recommended in 12 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: recommended
  8. June 2026: recommended
  9. July 2026: recommended
  10. August 2026: recommended
  11. September 2026: recommended
  12. October 2026: recommended
  13. November 2026: not recommended (month in progress)

Owned for 3 months

Median of the 3 owners who said how long they have had it.

Each square is one year.

Why it carries the badge

  • 137 people recommend itNeeds 10 or more, met.
  • 4.9 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 12 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Lets AI agents verify UI

    “Same playwright is phenomenal. You can also have the agent browse with MCP to figure out the workflow, then bang out a repeatable playwright script for it.”

    Comment from 16 Apr 2026 in “Show HN: Libretto – Making AI browser automations deterministic”

    “Playwright seems to do fine at visual stuff? It takes screenshots and the model evaluates them. That's most of what I use Playwright for.”

    Comment from 24 Mar 2026 in “Show HN: ProofShot – Give AI coding agents eyes to verify the UI they build”

    “Getting them to take screenshots with playwright/puppeteer and look at them as part of their development iteration cycle works well.”

    Comment from 11 Mar 2026 in “Why does AI tell you to use Terminal so much?”
  • Auto-waiting and clean API

    “playwright provides a lot of benefits that we like in terms of being code - like auto-waiting, good syntax for a lot of operations”

    Comment from 8 Jun 2026 in “Launch HN: Intuned (YC S22) – Build and run reliable browser automations as code”

    “Playwright's screenshot comparison (toHaveScreenshot) combined with proper wait strategies has gotten pretty solid.”

    Comment from 28 Jan 2026 in “Ask HN: Do you use a visual debugging AI tool?”

    “Things that have helped me elsewhere: Playwright with page.wait_for_selector rather than networkidle”

    Comment from 28 Apr 2026 in “Scraping 241 UK council planning portals – 2.6M decisions so far”
  • Screenshots, traces and visual comparison

    “Playwright seems to do fine at visual stuff? It takes screenshots and the model evaluates them. That's most of what I use Playwright for.”

    Comment from 24 Mar 2026 in “Show HN: ProofShot – Give AI coding agents eyes to verify the UI they build”

    “Getting them to take screenshots with playwright/puppeteer and look at them as part of their development iteration cycle works well.”

    Comment from 11 Mar 2026 in “Why does AI tell you to use Terminal so much?”

    “Playwright's screenshot comparison (toHaveScreenshot) combined with proper wait strategies has gotten pretty solid.”

    Comment from 28 Jan 2026 in “Ask HN: Do you use a visual debugging AI tool?”
  • Fast and easy setup

    “Playwright really simplifies getting setup. It won't work for everyone, but within 30 seconds Playwright will download it's needed browsers along with a test runner.”

    Comment from 24 Dec 2025 in “Show HN: Vibium – Browser automation for AI and humans, by Selenium's creator”

    “playwright got a lot of things right. one of the big ones was a fast websockets+json way to drive the browser”

    Comment from 24 Dec 2025 in “Show HN: Vibium – Browser automation for AI and humans, by Selenium's creator”

    “Building simple web-scraping scripts with nbb driving Playwright is so much faster than using any other stack”

    Comment from 28 Jul 2026 in “Steel Bank Common Lisp version 2.6.7”

What people warn about

Each mark is one comment

  • Tests brittle and finicky

    “that kind of test tends to be brittle and annoying to write (I guess I don't have to write them anymore, but they are still brittle)”

    Comment from 2 Aug 2026 in “Developers are attached to tools because tools encode trust”

    “Tools like Selenium and Playwright have introduced explicit waits, which observe the DOM. This helps, but doesn't solve everything.”

    Comment from 23 Jan 2026 in “The Slow Death of Productivity: Why Time.sleep() Is Killing Your Automation”

    “getting them to a state where they reliably pass has always been so much more finicky than it should be”

    Comment from 2 Apr 2026 in “Show HN: Playwright Test Studio”
  • Inefficient, floods agent context

    “I've had some luck on the web app side if I use playwright or similar for the model to interact with but still far from efficient.”

    Comment from 26 Aug 2026 in “Ask HN: What is one simple thing LLMs are insanely bad at?”

    “My main issue with Playwright (and chrome-devtools) is that they pollute the context with a massive amount of stuff.”

    Comment from 3 Feb 2026 in “Two kinds of AI users are emerging. The gap between them is astonishing”

    “duct-taping browser automation (Playwright, CDP, MCP wrappers) onto an interface designed for humans”

    Comment from 15 Mar 2026 in “Let your Coding Agent debug the browser session with Chrome DevTools MCP”
  • Detected by anti-bot defenses

    “Rolling your own Playwright / Puppeteer cluster works until target sites deploy new JA4/TLS fingerprints”

    Comment from 2 Oct 2026 in “Ask HN: Who is hiring? (October 2026)”

    “the project that my CC is working on now is a playwright clone that is not easily detectable”

    Comment from 24 Mar 2026 in “OpenClaw Is a Security Nightmare Dressed Up as a Daydream”

Other browser automation tools people recommend

The four most recommended other browser automation tools, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Playwright compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
PlaywrightThis page1372883%123 mo3 ownersApproved
Playwright CLI19195%5—Approved
Selenium15575%5—Approved
Puppeteer141647%10——
Stagehand13287%7—Approved
See all 12 browser automation tools, ranked

What people said

40 of the 199 comments that mention it, newest first. Each links to the original comment.

“Rolling your own Playwright / Puppeteer cluster works until target sites deploy new JA4/TLS fingerprints”

MixedComment from 2 Oct 2026 in “Ask HN: Who is hiring? (October 2026)”

“I've had some luck on the web app side if I use playwright or similar for the model to interact with but still far from efficient.”

MixedComment from 26 Aug 2026 in “Ask HN: What is one simple thing LLMs are insanely bad at?”

“that kind of test tends to be brittle and annoying to write (I guess I don't have to write them anymore, but they are still brittle)”

CriticizesComment from 2 Aug 2026 in “Developers are attached to tools because tools encode trust”

“Building simple web-scraping scripts with nbb driving Playwright is so much faster than using any other stack”

RecommendsComment from 28 Jul 2026 in “Steel Bank Common Lisp version 2.6.7”

“works better with how models are already trained on playwright to interact with browser”

RecommendsComment from 17 Jul 2026 on Hacker News

“Really like this approach to keeping Playwright deterministic while still getting AI-assisted fixes via PRs”

RecommendsComment from 17 Jul 2026 on Hacker News

“Once it tracks down the bugs - boom! You have an end to end test to add to your suite.”

RecommendsComment from 5 Jul 2026 in “The Safari MCP server for web developers”

“with a Playwright task which attempts to surface errors to the agent who introduced the previous code block”

MixedComment from 15 Jun 2026 in “Ask HN: Has anyone replaced Claude/GPT with a local model for daily coding?”

“playwright provides a lot of benefits that we like in terms of being code - like auto-waiting, good syntax for a lot of operations”

RecommendsComment from 8 Jun 2026 in “Launch HN: Intuned (YC S22) – Build and run reliable browser automations as code”

“This beats writing playwrights which often break when a major UI update happens.”

CriticizesComment from 2 Jun 2026 in “Show HN: NUA an agent that tests for product correctness”

“guardrails not only in textfiles but much more in executable code (linters, tests, dependency checks, playwright, ...)”

RecommendsComment from 22 May 2026 in “Steve Wozniak cheered after telling students they have AI – actual intelligence”

“Playwright tests are an absolute delight to read, write and maintain on properly accessible sites”

RecommendsComment from 5 May 2026 in “Computer Use Is 45x More Expensive Than Structured APIs”

“Things that have helped me elsewhere: Playwright with page.wait_for_selector rather than networkidle”

RecommendsComment from 28 Apr 2026 in “Scraping 241 UK council planning portals – 2.6M decisions so far”

“I just created a playwright cli skill in about 30 minutes and I've been using it for months.”

MixedComment from 25 Apr 2026 in “Show HN: Browser Harness – simplest way to give AI control of real browser”

“Same playwright is phenomenal. You can also have the agent browse with MCP to figure out the workflow, then bang out a repeatable playwright script for it.”

RecommendsComment from 16 Apr 2026 in “Show HN: Libretto – Making AI browser automations deterministic”

“Ask it to take control of a browser using something like Playwright and use the UI itself like an end user would”

RecommendsComment from 12 Apr 2026 in “Why AI Sucks at Front End”

“what turned me off it was the likelihood anyone not already using Playwright would have to update their frontend”

MixedComment from 2 Apr 2026 in “Show HN: Playwright Test Studio”

“getting them to a state where they reliably pass has always been so much more finicky than it should be”

CriticizesComment from 2 Apr 2026 in “Show HN: Playwright Test Studio”

“Playwright seems to do fine at visual stuff? It takes screenshots and the model evaluates them. That's most of what I use Playwright for.”

RecommendsComment from 24 Mar 2026 in “Show HN: ProofShot – Give AI coding agents eyes to verify the UI they build”

“If you want something that mostly just works, Playwright is still the easiest default.”

RecommendsComment from 24 Mar 2026 in “What are the best headless browsers?”

“often the playwright skill will verify using DOM API instead of wasting tokens on screenshots”

RecommendsComment from 24 Mar 2026 in “Show HN: ProofShot – Give AI coding agents eyes to verify the UI they build”

“the project that my CC is working on now is a playwright clone that is not easily detectable”

MixedComment from 24 Mar 2026 in “OpenClaw Is a Security Nightmare Dressed Up as a Daydream”

“I've also had Claude run javascript code on a page using playwright-cli to figure out why a button wasn't working as it should.”

RecommendsComment from 24 Mar 2026 in “Show HN: ProofShot – Give AI coding agents eyes to verify the UI they build”

“I give agent either a simple browser or Playwright access to proper browsers to do this. It works quite well”

RecommendsComment from 24 Mar 2026 in “Show HN: ProofShot – Give AI coding agents eyes to verify the UI they build”

“duct-taping browser automation (Playwright, CDP, MCP wrappers) onto an interface designed for humans”

CriticizesComment from 15 Mar 2026 in “Let your Coding Agent debug the browser session with Chrome DevTools MCP”

“Getting them to take screenshots with playwright/puppeteer and look at them as part of their development iteration cycle works well.”

RecommendsComment from 11 Mar 2026 in “Why does AI tell you to use Terminal so much?”

“I've found Playwright tests to be a decent way of getting Claude to do what you're talking about.”

RecommendsComment from 13 Feb 2026 in “I asked Claude Code to remove jQuery. It failed miserably”

“Ask it to install and use Playwright to confirm rendering and flow. ... it definitely helps cut down on bugs.”

RecommendsComment from 13 Feb 2026 in “I asked Claude Code to remove jQuery. It failed miserably”

“using Claude Code with Playwright tests as the feedback signal is a clever way to grind through the spec without losing your mind”

RecommendsComment from 11 Feb 2026 in “Show HN: JavaScript-first, open-source WYSIWYG DOCX editor”

“exposing Playwright-level primitives to a foundation model is fundamentally the wrong interface”

CriticizesComment from 7 Feb 2026 in “Show HN: Smooth CLI – Token-efficient browser for AI agents”

“My main issue with Playwright (and chrome-devtools) is that they pollute the context with a massive amount of stuff.”

CriticizesComment from 3 Feb 2026 in “Two kinds of AI users are emerging. The gap between them is astonishing”

“Playwright's screenshot comparison (toHaveScreenshot) combined with proper wait strategies has gotten pretty solid.”

RecommendsComment from 28 Jan 2026 in “Ask HN: Do you use a visual debugging AI tool?”

“Tools like Selenium and Playwright have introduced explicit waits, which observe the DOM. This helps, but doesn't solve everything.”

MixedComment from 23 Jan 2026 in “The Slow Death of Productivity: Why Time.sleep() Is Killing Your Automation”

“Playwright has a driver for example and its far faster and less resource hungry than Chrome.”

RecommendsComment from 12 Jan 2026 in “Lightpanda migrate DOM implementation to Zig”

“It comes with a nice overview page that shows all the failed tests including traces and screenshots.”

RecommendsComment from 6 Jan 2026 in “Visual regression tests for personal blogs”

“Playwright really simplifies getting setup. It won't work for everyone, but within 30 seconds Playwright will download it's needed browsers along with a test runner.”

RecommendsComment from 24 Dec 2025 in “Show HN: Vibium – Browser automation for AI and humans, by Selenium's creator”

“playwright got a lot of things right. one of the big ones was a fast websockets+json way to drive the browser”

RecommendsComment from 24 Dec 2025 in “Show HN: Vibium – Browser automation for AI and humans, by Selenium's creator”

“it's fast, easy to use, has popular features like auto-waiting, integrated video recording”

RecommendsComment from 24 Dec 2025 in “Show HN: Vibium – Browser automation for AI and humans, by Selenium's creator”

“Playwright in vision mode (as opposed to using the default a11y tree) and Codex for understanding worked best”

RecommendsComment from 8 Dec 2025 in “I failed to recreate the 1996 Space Jam website with Claude”

“This, paired with chrome devtools and playwright, had been a real productivity booster for me, and is quite fun.”

RecommendsComment from 21 Nov 2025 in “What if you don't need MCP at all?”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.