Puppeteer Browser Contexts: Isolate Sessions Without Spinning Up New Browsers
Use one Puppeteer browser and create a browser context per user or test for fast, lightweight isolation. Contexts keep cookies and storage separate while sharing the Chromium process.