https://cypress.io logo
ohh this is a beautiful question, it deserves a bl...
# e2e-testing
g
ohh this is a beautiful question, it deserves a blog post or a video. But here is a quick solution - instead of elements, grab the HREF links to the pages from anchor elements - move using the array of links into
cy.then
(any time you want to use something you get from the page, its value is available in the
cy.then
callback or via an alias) Stay tuned, I will show a solution and post it on my blog / youtube