Sai Deepti
Sai Deepti

Reputation: 21

Redirect to another domain url using cypress

following is the process which I am following to redirect the domain

  1. cy.visit('website URL') by passing basic arguments for authentication pop-up
  2. click on the button

clicking on the button is redirecting to a different domain URL.(again it's showing basic authentication pop-up)

Upvotes: 2

Views: 2644

Answers (1)

Sanja Paskova
Sanja Paskova

Reputation: 1110

Because cypress is not supporting this, you can start the test with visiting the domain where button is redirecting.

This is one of the disadvantages of cypress.

Upvotes: 2

Related Questions