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!
Comments
Post a Comment