puppeteer
skip the chromium download when installing puppeteer
set PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
npm i puppeteer -S
const browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: false,
executablePath: '/Applications/Chromium.app/Contents/MacOS/Chromium',
});
You should install Chromium manually.
Alternatives
Golang:
- chromedp - High-level actions and tasks for driving browsers using the Chrome DevTools Protocol in Go