Cypress doesn't navigate to some address #25850
Unanswered
T-Auto-1
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When I run
cy.visit()
to navigate to a specific address this message appears in the browser (not the cypress command log): [the address] did not send any data.If I open a new tab on the browser that cypress has started and I navigate to the address manually I also see this message: ERR_EMPTY_RESPONSE
For other addresses,
cy.visit()
works fine.When I navigate to the same address by using a separate browser (not started by cypress), it works fine. Also when I navigate to this address with Playwright framework, it works too.
Setting

chromeWebSecurity
to false doesn't help, neither using other built-in browsers.See screenshot. The message is in the center of the page in the black rectangle. The reason I have put these rectangles is because of company policy.
How can I solve this?
Beta Was this translation helpful? Give feedback.
All reactions