Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
fix(firefox): bring headful window to front on launch (#923)
Pavel Feldman780235479e01
diff --git a/src/server/firefox.ts b/src/server/firefox.tsindex 822226cf7a..a1b6b1ba61 100644--- a/src/server/firefox.ts+++ b/src/server/firefox.ts@@ -177,10 +177,12 @@ export class Firefox implements BrowserType {throw new Error('Use the port parameter instead of -juggler argument');const firefoxArguments = ['-no-remote'];- if (headless)+ if (headless) {firefoxArguments.push('-headless');- else+ } else {firefoxArguments.push('-wait-for-browser');+ firefoxArguments.push('-foreground');+ }firefoxArguments.push(`-profile`, userDataDir);firefoxArguments.push('-juggler', String(port));