I have been using CasperJS and managed to load a page I am looking at and pull data from it. I am now looking at how to pull a list of links I want to click on and pull data from each page that opens. Here is what I have attempted so far.
casper.then(function(){
var matches = this.getElementsInfo(x(".//*[@class='rows']"));
this.click(matches[0].html;
})
I have tried the above code and the Elements are all returned correctly however when i try to click on them nothing happens.