Reputation: 2813
I've got a website with Ajax-loaded content. The content is showed in tabs, 20 items par page, with an Ajax link to load the 20 following items.
I'd like to run some tests as : "As long as there is a link to the next page, click it, then ... [do something]", then proceed to the next page (loop)
I can't know for sure how many pages I'll have to go through.
Is there a simple way to achieve this ? (ie something like a While loop in CasperJS)
Thank you very much!
Upvotes: 2
Views: 2160