# Puppeteer

14 Hacker News commenters recommended Puppeteer and 16 criticized it, November 2025 to November 2026. It was recommended in 10 of 13 months.

**Verdict:** Node.js library for driving headless Chrome from code, used for browser testing, screenshots and PDF rendering. Critics say its scripts are brittle and it struggles with scale and AI agent browsing.

## Why people recommend it

- Works fine for browser testing (2 comments): "Puppeteer and Playwright work fine for browser testing. For AI agents, not so much." ([source](https://news.ycombinator.com/item?id=47095561)) "Playwright (or Puppeteer) has addressed every edge case that has come" ([source](https://news.ycombinator.com/item?id=45870848))
- Screenshots and PDF rendering (2 comments): "Getting them to take screenshots with playwright/puppeteer and look at them as part of their development iteration cycle works well." ([source](https://news.ycombinator.com/item?id=47333134)) "For pdfs render the, in html with razor and then print as;df with puppeteer." ([source](https://news.ycombinator.com/item?id=45907465))
- Powerful control over browsers (2 comments): "you can just give your harness control over firefox through puppeteer, which is much more powerful" ([source](https://news.ycombinator.com/item?id=49724380)) "I have a template project I use that also leverages puppeteer/webdriver/Firefox" ([source](https://news.ycombinator.com/item?id=48754014))

## What people warn about

- Brittle when sites change (4 comments): "Whatever tweaks/hints/hacks one applies to achieve that tend to be pretty brittle across browsers/page sizes/etc." ([source](https://news.ycombinator.com/item?id=50242951)) "fragile Puppeteer scripts that broke the second a frontend dev changed a random Tailwind class name" ([source](https://news.ycombinator.com/item?id=48708076)) "they require a lot of individual care for each ui and they're ripe with gotchas" ([source](https://news.ycombinator.com/item?id=48143985))
- Hard to keep working (4 comments): "controlling Chrome via puppeteer or the like. That's been a bit of a pain." ([source](https://news.ycombinator.com/item?id=46605869)) "even with puppeteer though, it was really hard to make something like that" ([source](https://news.ycombinator.com/item?id=47624960)) "I haven't been able to make Puppeteer work for the past 8 weeks or so" ([source](https://news.ycombinator.com/item?id=46258698))
- Does not scale or evade bot detection (2 comments): "I even used puppeeter instances to do it, and after quite a long time I was able to succeed actually but that's just not scalable" ([source](https://news.ycombinator.com/item?id=48041702)) "Rolling your own Playwright / Puppeteer cluster works until target sites deploy new JA4/TLS fingerprints" ([source](https://news.ycombinator.com/item?id=49928677))
- Heavy memory and Chrome footprint (3 comments): "memory leaks, blank pages in production, fonts not loading" ([source](https://news.ycombinator.com/item?id=47422112)) "It was slow (1-5s), 200MB+, and crashed." ([source](https://news.ycombinator.com/item?id=47136633)) "you're shipping a 300MB Chrome binary" ([source](https://news.ycombinator.com/item?id=47440652))

## Alternatives hackers recommend

- [Playwright](https://hackerapproved.com/p/playwright.md): 137 recommend
- [Playwright CLI](https://hackerapproved.com/p/playwright-cli.md): 19 recommend
- [Selenium](https://hackerapproved.com/p/selenium.md): 15 recommend
- [Stagehand](https://hackerapproved.com/p/stagehand.md): 13 recommend
- [Vibium](https://hackerapproved.com/p/vibium.md): 12 recommend

## Cite as

Hacker Approved, "Puppeteer", https://hackerapproved.com/p/puppeteer/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
