casperjs loop
Hi I've been reading doc for days and ended up here to ask.
Is there good way to define function in casperjs and repeat the function as many as count of array variable ex. Code:
var links = ['link1', 'link2'...] |
It seems to be mentioned in the main API doc here:
http://casperjs.org/api.html#casper.each Code:
Casper#each(Array array, Function fn) |
All times are GMT -5. The time now is 10:11 PM. |