Getting the error "permission denied to access property document on cross-origin object" in Cypress. How to resolve this?

Getting the error “permission denied to access property document on cross-origin object” in Cypress. How to resolve this?

Hey Tom,

The issue is due to web security measures applied by the browser provider. Firefox and Cypress does not provide an option to disable web security yet. There is still open issue for this. You can refer to the below link:

Cypress does not yet provide an option to disable websecurity for Firefox · Issue #7677 · cypress-io/cypress · GitHub