chore: only pass --use-angle for chromium-headless-shell
This commit is contained in:
parent
5a8b49910a
commit
2b9be220a7
|
|
@ -300,7 +300,7 @@ export class Chromium extends BrowserType {
|
|||
// See https://github.com/microsoft/playwright/issues/7362
|
||||
chromeArguments.push('--enable-use-zoom-for-dsf=false');
|
||||
// See https://bugs.chromium.org/p/chromium/issues/detail?id=1407025.
|
||||
if (options.headless)
|
||||
if (options.channel === 'chromium-headless-shell')
|
||||
chromeArguments.push('--use-angle');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue