Skip to content

Commit 5f84947

Browse files
author
Shivani P. Kasturi
committed
Update DEFAULT_PUPPETEER_ARGS to launch Chrome with the --no-sandbox argument
1 parent 7e8c136 commit 5f84947

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/gather/gather-telemetry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const puppeteer = require('puppeteer');
22
const { setTelemetry } = require('../utils/telemetry');
33

4-
const DEFAULT_PUPPETEER_ARGS = { ignoreHTTPSErrors: true };
4+
const DEFAULT_PUPPETEER_ARGS = { ignoreHTTPSErrors: true, args: ['--no-sandbox', '--disable-setuid-sandbox'] };
55

66
module.exports = async function gatherTelemetry(url, gatherFn, ...args) {
77
let puppeteerArgs = [...args].pop();

0 commit comments

Comments
 (0)