How to prevent the response from a new window? #23286
Unanswered
SimonasB88
asked this question in
Questions and Help
Replies: 2 comments 1 reply
-
There might be a paypal script that redirects you to their url. You may need to intercept, wait on it, and then use .origin to handle it in cypress. |
Beta Was this translation helpful? Give feedback.
1 reply
-
FYI when the new cross-origin redirection opens, the Cypress logs are showing very long requests with URLs like variables. Maybe that's the problem? How to overcome that? |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Writing a test for ecommerce and stuck in a PayPal payment method, where redirection goes to a new window - Cypress command lines disappear instantly. There is no
target=_blank
in a button.Kapture.2022-08-11.at.17.42.07.mp4
Maybe there is a quick fix in this? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions