Skip to content

Commit 63701ac

Browse files
committed
hack puppeteer
1 parent eb7fe4e commit 63701ac

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/puppeteer.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ function makePromiseInfo() {
2424
}
2525

2626
async function test(port) {
27-
const browser = await puppeteer.launch();
27+
const browser = await puppeteer.launch({
28+
args: [
29+
'--no-sandbox',
30+
'--disable-setuid-sandbox',
31+
],
32+
});
2833
const page = await browser.newPage();
2934

3035
page.on('console', async e => {

0 commit comments

Comments
 (0)