Skip to content

Commit

Permalink
fix: lauch pupeteer with no-sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
ClarkXia committed Jan 17, 2025
1 parent 2388efb commit 4939b88
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/utils/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@ export default class Browser {
}

async start() {
this.browser = await puppeteer.launch();
this.browser = await puppeteer.launch(
{
args: ['--no-sandbox', '--disable-setuid-sandbox'],
},
);
}

async close() {
Expand Down

0 comments on commit 4939b88

Please sign in to comment.