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(remote): make playwright server work with firefox-beta (#12039)
Dmitry Gozmanccb09acdbae0
diff --git a/packages/playwright-core/src/remote/playwrightServer.ts b/packages/playwright-core/src/remote/playwrightServer.tsindex 836b91b7d0..05f9df709a 100644--- a/packages/playwright-core/src/remote/playwrightServer.ts+++ b/packages/playwright-core/src/remote/playwrightServer.ts@@ -166,7 +166,7 @@ class Connection {const playwright = createPlaywright('javascript');const socksProxy = await this._enableSocksProxyIfNeeded(playwright);const browser = await playwright[executable.browserName].launch(internalCallMetadata(), {- channel: executable.type === 'channel' ? executable.name : undefined,+ channel: executable.type === 'browser' ? undefined : executable.name,});// Close the browser on disconnect.