From 8f4364c2b542b2e9b189fa724f3fcc2173bf1d84 Mon Sep 17 00:00:00 2001 From: Joel Einbinder Date: Tue, 21 Jan 2020 17:17:14 -0800 Subject: [PATCH] fix(firefox): be able to launch on headful+windows --- src/server/ffPlaywright.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/server/ffPlaywright.ts b/src/server/ffPlaywright.ts index 044e1a03d1..4d5874cc6b 100644 --- a/src/server/ffPlaywright.ts +++ b/src/server/ffPlaywright.ts @@ -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');