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
beforeEach(()=>{// The next command allow downloads in Electron, Chrome, and Edge// without any users popups or file save dialogs.if(Cypress.browser.name!=='firefox'){// since this call returns a promise, must tell Cypress to wait// for it to be resolvedcy.wrap(Cypress.automation('remote:debugger:protocol',{command: 'Page.setDownloadBehavior',params: {behavior: 'allow',downloadPath: downloadsFolder},}),{log: false})}})
Cypress v5.1.0 with Electron browser on Mac
for cypress-io/cypress-example-recipes#560
silently fails and only the DevTools shows an error later in the console
Proposal
If
Cypress.automation
rejects, fail the test and show the errorThe text was updated successfully, but these errors were encountered: