ajax - While loop in CasperJS? -


i've got website ajax-loaded content. content showed in tabs, 20 items par page, ajax link load 20 following items.

i'd run tests : "as long there link next page, click it, ... [do something]", proceed next page (loop)

i can't know sure how many pages i'll have go through.

is there simple way achieve ? (ie while loop in casperjs)

thank much!

one option be:

casperjs-goto

hope helps


Comments

Popular posts from this blog

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

how can i manage url using .htaccess in php? -

ios - I get the error Property '...' not found on object of type '...' -