You probably don't need a headless browser to scrape that page

A headless browser runs a whole Chrome per page: seconds of time and hundreds of MB of memory. That is the right tool when the value only exists after JavaScript runs. For most product and listing pages, it is already in the HTML.

Headless browser or plain request

Headless browser
seconds a page
hundreds of MB each
Plain request + rules
under 1 ms to read
a few MB in all

Nederlands

What is a headless browser?

A browser without a window, like Chrome run by Puppeteer or Playwright. It loads the page, runs its JavaScript and lets a script read the result. Useful for testing and for pages that are built in the browser. Costly when all you want is one value from the HTML.

Do you need one? Check in a minute

  1. View source, not inspect. Open view-source: and search for the price. If it is there, a plain HTTP request gets it.

  2. Look for JSON in the page. JSON-LD, __NEXT_DATA__ or a state blob often carries every field, ready to read.

  3. Look at the network tab. If the page loads its data from a JSON URL, that may be easier to read than the page (check the terms).

  4. Only then a browser. Values that truly appear only after JavaScript, or behind a click: that is what a headless browser is for.

Headless browser alternatives

A plain request plus rules that read the HTML. Same answer, a fraction of the time and memory, and no browser to keep up to date. Reading 1 million pages:

SetupPer page1 million pages
A large AI model on raw HTML1 cent a page and up€10,000+ a run
A small AI model on trimmed HTML0.05 to 0.5 cent a page€500 – €5,000 a run
A headless browserseconds and hundreds of MB a pageservers that grow with the crawl
An extraction script€0 a page, under 1 ms€78 once (5 fields)

More on this

Try it on your own pages

Paste a few links and a couple of values. The look is free, and you hear the price before anything is due.

Try it on your pages