Skip to content

Puppeteer Configuration

Puppeteer Configuration for WSL2

ALWAYS use the following configuration for all Puppeteer operations in WSL2:

{ "allowDangerous": true, "launchOptions": { "headless": true, "args": [ "--no-sandbox", "--disable-setuid-sandbox", "--disable-dev-shm-usage", "--disable-gpu" ] } }