Skip to content

Commit d62975e

Browse files
committed
Disable sandbox
1 parent 75ea8d8 commit d62975e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/globalSetup.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ import puppeteer, { Browser } from "puppeteer";
44
let browser: Browser;
55

66
export default async function setup({ provide }: GlobalSetupContext) {
7-
browser = await puppeteer.launch();
7+
browser = await puppeteer.launch({
8+
args: ["--no-sandbox", "--disable-setuid-sandbox"],
9+
});
810
provide("browserWSEndpoint", browser.wsEndpoint());
911
}
1012

0 commit comments

Comments
 (0)