Skip to content

Commit b8e2ceb

Browse files
committed
Test: Disable Chrome sandbox
Trying to fix an error on Travis: No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.
1 parent d49939a commit b8e2ceb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/browser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ async function onerror(err) {
2626
}
2727

2828
(async () => {
29-
browser = await puppeteer.launch();
29+
browser = await puppeteer.launch({ args: ['--no-sandbox', '--disable-setuid-sandbox'] });
3030
const page = await browser.newPage();
3131
await page.setViewport({ width: 1024, height: 768 });
3232
page.on('error', onerror);

0 commit comments

Comments
 (0)