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…
Reference in a new issue