Skip to content

Commit

Permalink
Disable gpu on chromium (opendistro-for-elasticsearch#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuali925 authored and zhongnansu committed Dec 4, 2020
1 parent 1ae2478 commit 0ddd7ff
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 0ddd7ff

Please sign in to comment.