diff --git a/test/server.js b/test/server.js index 082def5bc..0e7695ef7 100644 --- a/test/server.js +++ b/test/server.js @@ -43,7 +43,7 @@ const server = app.listen(port); url = "http://localhost:" + port + url; async function runTests(url) { - const browser = await puppeteer.launch({ headless: true }); + const browser = await puppeteer.launch({ headless: true, args: ['--no-sandbox', '--disable-setuid-sandbox'] }); const page = await browser.newPage(); await page.goto(url, { waitUntil: "networkidle0" }); const html = await page.content(); // serialized HTML of page DOM.