简体   繁体   中英

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)

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM