We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 084183b commit da1a584Copy full SHA for da1a584
scripts/puppeteer.ts
@@ -18,7 +18,11 @@ if (!endpoint) {
18
}
19
20
(async () => {
21
- const browser = await puppeteer.launch();
+ // See https://pptr.dev/troubleshooting#setting-up-chrome-linux-sandbox
22
+ const browser = await puppeteer.launch({
23
+ args: ["--no-sandbox", "--disable-setuid-sandbox"],
24
+ });
25
+
26
const page = await browser.newPage();
27
28
// Set viewport width and height (no need in reality, just here for an example)
0 commit comments