How to overlook The content-type of the response we received from your web server was: undefined error while cy.visit()? #28652
Unanswered
pranesh517
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.
-
Is there any way to cypress to overlook content-type: undefined error while cy.visit()?
Tried using
cy.visit({
url: 'url',
failOnStatusCode: false,
headers: {'Accept': 'text/html'}
});
Beta Was this translation helpful? Give feedback.
All reactions