mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00: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)
|
if (options.devtools)
|
||||||
chromeArguments.push('--auto-open-devtools-for-tabs');
|
chromeArguments.push('--auto-open-devtools-for-tabs');
|
||||||
if (options.headless) {
|
if (options.headless) {
|
||||||
|
// See http://crbug.com/1200964
|
||||||
|
if (process.platform === 'win32')
|
||||||
|
chromeArguments.push('--use-gl=swiftshader');
|
||||||
chromeArguments.push(
|
chromeArguments.push(
|
||||||
'--headless',
|
'--headless',
|
||||||
'--hide-scrollbars',
|
'--hide-scrollbars',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user