Skip to content

Commit

Permalink
fix: try running without --disable-gpu on windows
Browse files Browse the repository at this point in the history
It looks like https://crbug.com/737678 and https://crbug.com/729961
are fixed - so we shouldn't need the `--disable-gpu` flag on windows
headless.

Reference puppeteer#1260
  • Loading branch information
aslushnikov committed Jun 4, 2019
1 parent 78d5106 commit ccda4d6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Launcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,6 @@ class Launcher {
'--hide-scrollbars',
'--mute-audio'
);
if (os.platform() === 'win32')
chromeArguments.push('--disable-gpu');
}
if (args.every(arg => arg.startsWith('-')))
chromeArguments.push('about:blank');
Expand Down

0 comments on commit ccda4d6

Please sign in to comment.