fix(firefox): be able to launch on headful+windows
This commit is contained in:
parent
b8bb58e48b
commit
8f4364c2b5
|
|
@ -203,6 +203,8 @@ export class FFPlaywright implements Playwright {
|
|||
firefoxArguments.push('-profile', userDataDir);
|
||||
if (headless)
|
||||
firefoxArguments.push('-headless');
|
||||
else
|
||||
firefoxArguments.push('-wait-for-browser');
|
||||
firefoxArguments.push(...args);
|
||||
if (args.every(arg => arg.startsWith('-')))
|
||||
firefoxArguments.push('about:blank');
|
||||
|
|
|
|||
Loading…
Reference in a new issue