4 ms·
Like this maybe? https://www.cypress.io/blog/2020/12/10/testing-the-anchor-links/ https://www.cypress.io/blog/2020/12/10/testing-the-anchor-li... If that's not
by MetaWhirledPeas 4y ago
Like this maybe?
https://www.cypress.io/blog/2020/12/10/testing-the-anchor-links/ https://www.cypress.io/blog/2020/12/10/testing-the-anchor-li...
If that's not it keep looking. If there's a thing you want to do, odds are Gleb has a video or blog post about it.
- lyu07282 4y agoThe thing they do with posts.json, except dynamically from links discovered on a page. I did look, I don't think its possible. Anyway its subjective, I don't like Cypress.
- stnmtn 4y agoThere's no way to search the current page for all elements of an `<a>` type, then through that list search for the one you want and call click on it? I figure there must be a way to do that, but it's very possible I'm misunderstanding what you're trying to solve!
- lyu07282 4y agoBasically what I wanted to write was a recursive broken link checker