mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 13:45:36 +03:00
fix(chromium): force --use-gl=swiftshader on Windows (#6272)
This commit is contained in:
parent
3a93c419f8
commit
357224d6b1
@ -134,6 +134,9 @@ export class Chromium extends BrowserType {
|
||||
if (options.devtools)
|
||||
chromeArguments.push('--auto-open-devtools-for-tabs');
|
||||
if (options.headless) {
|
||||
// See http://crbug.com/1200964
|
||||
if (process.platform === 'win32')
|
||||
chromeArguments.push('--use-gl=swiftshader');
|
||||
chromeArguments.push(
|
||||
'--headless',
|
||||
'--hide-scrollbars',
|
||||
|
Loading…
Reference in New Issue
Block a user