Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

Commit

Permalink
Disable gpu on chromium (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuali925 committed Dec 3, 2020
1 parent 26a5ebf commit c3ffb0f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const createVisualReport = async (
* TODO: temp fix to disable sandbox when launching chromium on Linux instance
* https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#setting-up-chrome-linux-sandbox
*/
args: ['--no-sandbox', '--disable-setuid-sandbox'],
args: ['--no-sandbox', '--disable-setuid-sandbox', '--disable-gpu'],
executablePath: CHROMIUM_PATH,
});
const page = await browser.newPage();
Expand Down

0 comments on commit c3ffb0f

Please sign in to comment.