const { join } = require('path'); // console.log('puppeteer config: ', process.env); /** * @type {import("puppeteer").Configuration} */ module.exports = { cacheDirectory: join(__dirname, '.cache', 'puppeteer'), chrome: { downloadBaseUrl: 'https://registry.npmmirror.com/-/binary/chrome-for-testing' }, "chrome-headless-shell": { downloadBaseUrl: 'https://registry.npmmirror.com/-/binary/chrome-for-testing' } };