You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: packages/server/lib/browsers/firefox.ts
+4
Original file line number
Diff line number
Diff line change
@@ -390,6 +390,10 @@ export function connectToExisting () {
390
390
getCtx().onWarning(getError('UNEXPECTED_INTERNAL_ERROR',newError('Attempting to connect to existing browser for Cypress in Cypress which is not yet implemented for firefox')))
thrownewError('Protocol is not yet supported in WebKit.')
41
+
}
42
+
39
43
/**
40
44
* Playwright adds an `exit` event listener to run a cleanup process. It tries to use the current binary to run a Node script by passing it as argv[1].
41
45
* However, the Electron binary does not support an entrypoint, leading Cypress to think it's being opened in global mode (no args) when this fn is called.
expect(electron.connectProtocolToBrowser({protocolManager: this.protocolManager})).to.be.rejectedWith('Missing pageCriClient in connectProtocolToBrowser')
expect(electron.connectProtocolToBrowser({protocolManager: this.protocolManager})).to.be.rejectedWith('Missing pageCriClient in connectProtocolToBrowser')
0 commit comments