Honestly, just use Playwright. Puppeteer’s great, but Playwright’s newer and fixes a lot of quirks.
For RAM, headless helps, but also tweak flags like --single-process or --no-sandbox if you’re desperate.
For RAM, headless helps, but also tweak flags like --single-process or --no-sandbox if you’re desperate.
