--disable-setuid-sandbox

This commit is contained in:
Jeffrey Warren
2019-04-23 12:36:11 -04:00
committed by GitHub
parent 20f2b05076
commit 66fc58fccb

View File

@@ -9,7 +9,7 @@ module.exports = function runInBrowserContext(input, callback, step, options) {
var obj = { input: input, modOptions: minOptions } var obj = { input: input, modOptions: minOptions }
puppeteer.launch({headless: true, args:['--no-sandbox']}).then(function(browser) { puppeteer.launch({headless: true, args:['--no-sandbox --disable-setuid-sandbox']}).then(function(browser) {
browser.newPage().then(page => { browser.newPage().then(page => {
/* Maybe there is a better way to this, loading the page coz localstorage API /* Maybe there is a better way to this, loading the page coz localstorage API
is not available otherwise */ is not available otherwise */