How to make goto handle redirect #2622
SzajJolanta
started this conversation in
Development
Replies: 1 comment 1 reply
-
Can be closed as I found a work around. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi.
I have an issue.
I have a dynamic list of certain URLs I have to visit (around 5000), some of them are not valid and the page loads for a split second on that URL, then it gets redirected to the home page again.
I can not remove those URLs that cause redirects. I have to visit them and perform certain check.
The thing is that when taiko's goto() lands on such URL, it stops and does not go further. The next iteration of the 'for' loop does not happen and timeout occurs.
`
// arr <- this is dynamic array of URLs
This sounds like similar issue to mine but can not find a solution for it https://spectrum.chat/taiko/general/i-am-having-issues-with-using-goto-when-the-page-redirects-it-doesnt-seem-to-detect-redirects-and-wait-for-redirect-to-complete-before-moving-onto-the-next-step~310440ec-9195-4928-814c-f764313c37c5
Please can you help me handle such redirects so the loop can go on?
Beta Was this translation helpful? Give feedback.
All reactions