mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
fix(remote): make playwright server work with firefox-beta (#12039)
It is not considered "channel", but rather a "tool".
This commit is contained in:
parent
94fc45a3db
commit
ccb09acdba
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user