fix(chromium): --headless -> --headless=old
Signed-off-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
parent
9c4fed4f53
commit
b09dfe3e4a
|
|
@ -319,7 +319,7 @@ export class Chromium extends BrowserType {
|
|||
if (process.env.PLAYWRIGHT_CHROMIUM_USE_HEADLESS_NEW)
|
||||
chromeArguments.push('--headless=new');
|
||||
else
|
||||
chromeArguments.push('--headless');
|
||||
chromeArguments.push('--headless=old');
|
||||
|
||||
chromeArguments.push(
|
||||
'--hide-scrollbars',
|
||||
|
|
|
|||
Loading…
Reference in a new issue