16 lines
433 B
JavaScript
16 lines
433 B
JavaScript
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'
|
|
}
|
|
};
|