From 43455ec971482d442bedfe0dacfb1067d989d02e Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Wed, 25 Dec 2024 09:50:15 -0800 Subject: [PATCH] puppeteer sandbox This is extremely frustrating. IMO Github / Google should not have made this change without providing a solution. Puppeteer's message is useless for github actions. It assumes you control the server. The majority of projects do not. So, sandbox off. If that's bad for github too fucking bad. If Google/Github want us to do the right thing then they should either make the right thing happen by default. Or, provide docs on how to do it. The docs provided are insufficient. --- test/puppeteer.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/puppeteer.js b/test/puppeteer.js index 9881b2e..0c37bf2 100755 --- a/test/puppeteer.js +++ b/test/puppeteer.js @@ -32,6 +32,8 @@ async function test(port) { //'--enable-webgpu-developer-features', //'--use-angle=swiftshader', '--user-agent=puppeteer', + '--no-sandbox', + '--disable-setuid-sandbox', ], }); const page = await browser.newPage();