Solved: Puppeteer PDF uses the wrong font - it's a loading race
Why a Headless Chrome PDF embeds Arial instead of your web font, why document.fonts.ready fails on hydration pages, and the settle wait that works.
Tag archive
Why a Headless Chrome PDF embeds Arial instead of your web font, why document.fonts.ready fails on hydration pages, and the settle wait that works.
If your Chromium-based PDF conversion hangs and times out, this guide explains how to reproduce and fix the issue caused by JavaScript being disabled.

Headless Puppeteer's click on the reCAPTCHA v2 checkbox opens an image grid. The plugin-free route: sitekey from page.frames(), a token from an API with fetch, evaluate() to inject it, then submit.
Invoice PDFs sometimes never finished rendering. The cause was a second headless Chromium stalling over the pipe under Bun, and the fix was one transport switch.
What this is about Many teams generate invoices, delivery slips, and other business...

Capturing one web page is a solved problem — Chrome, Firefox and every browser extension do it. The...
My exam platform, mcqplex.com, turns HTML templates (reports, certificates) into PDFs with Puppeteer....
Adding "Page 3 of 7" to a Puppeteer PDF looks like one option. You set displayHeaderFooter:...
Cloudflare Turnstile has quietly become the default "are you a robot?" gate on new sites — and it is...

What the Zyte CDP browser is, when to point existing Playwright or Puppeteer scripts at it instead of running browsers yourself, and when not to.
Screenshotline takes screenshots of web pages. It also returns the same page as Markdown, from the...
The pattern If you've built your own screenshot service on Playwright or Puppeteer, this...