2

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!

1

1 Answer 1

2

One option could be:

casperjs-goto

Hope it helps

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.