Skip to content

Commit

Permalink
Add --no-sandbox argument
Browse files Browse the repository at this point in the history
To be able to run it as root
  • Loading branch information
sbrunner committed Jul 16, 2019
1 parent 063441a commit 7ed0923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildtools/check-example.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function loaded(page, browser) {
}, 500);
}
(async () => {
const browser = await puppeteer.launch({args: ['--disable-web-security']});
const browser = await puppeteer.launch({args: ['--no-sandbox', '--disable-web-security']});
const page = await browser.newPage();
await page.setViewport({width: 1920, height: 1080});
await page.setRequestInterception(true);
Expand Down

0 comments on commit 7ed0923

Please sign in to comment.