Home > Mobile >  Unable to load a specific URL with Cypress
Unable to load a specific URL with Cypress

Time:02-25

I’m unable to load the following URL with Cypress. Getting timeout error. I have set the page load time to 2 mins, still same issue. General URLs eg. (Error screenshot

Lets look into the common situations where this might happen:

  • you don't have internet access: I have a internet access, so this can be ruled out.
  • you forgot to run / boot your web server - Your site is accessible from a normal browser, this can be ruled out as well.
  • your web server isn't accessible - This is a possibility where may be there are firewall settings at the server end because of which cypress is not getting any response when accessing the site.
  • you have weird network configuration settings on your computer - This can be ruled out as well.

CodePudding user response:

Here's a way, not the best, could be improved...

See custom command here enter image description here

  • Related