mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
fix: try running without --disable-gpu
on windows (#4523)
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 #1260
This commit is contained in:
parent
15804d111a
commit
f79d0a3be8
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user