fix chrome headless lag on Win7 (#2890)

This commit is contained in:
Andrew Stanton-Nurse 2018-08-29 12:55:57 -07:00 committed by GitHub
parent e2cc0e2a19
commit f91ba38907
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -56,7 +56,9 @@ try {
customLaunchers: {
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
// ChromeHeadless runs about 10x slower on Windows 7 machines without the --proxy switches below. Why? ¯\_(ツ)_/¯
flags: ["--no-sandbox", "--proxy-server='direct://'", "--proxy-bypass-list=*"]
}
},
});