question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cypress does not yet provide an option to disable websecurity for Firefox

See original GitHub issue

Problem:

I am unable to run Cypress on Firefox due to its adherence to same origin policy. This issue can be fixed on chrome by setting the chromeWebSecurity to false in configuration.

Cypress should provide such a solution for the firefox browser. The error message received on cy.visit(): Permission denied to access property "addEventListener" on cross-origin object

Versions

Cypress version : 4.8.0 O.S: Ubuntu 18.04 Browser : Firefox 77

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:31
  • Comments:17 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
faith-berroyacommented, Aug 22, 2022

Hi @jennifer-shehane , do we have a timeline from Cypress team for this? We’re really looking forward to this.

1reaction
estefafdezcommented, Jun 21, 2020

I’m in on this proposal. I would love to be able to use iframes on firefox, but now I can’t. thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Web Security - Cypress Documentation
Disabling web security is only supported in Chrome-based browsers. Settings in chromeWebSecurity will have no effect in other browsers. We will log a...
Read more >
Disable web security in Cypress just for one test - Stack Overflow
1 and this config is being set in cypress.json - therefore it's global for all tests. Is there a way to disable web...
Read more >
disable-web-security to Firefox developer options to globally ...
For Firefox developers, the workaround currently is "please use any other browser than Firefox", which flags Firefox as a developer-unfriendly browser.
Read more >
Web Security - Cypress - w3resource
You will notice that Chrome displays a warning that the 'SSL certificate does not match'. This is a normal and correct warning. This...
Read more >
Configuring Cypress to work with iFrames & cross-origin sites.
There are a considerations for automating your web application with Cypress, that you may come across, which may lead you to the Cypress...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found