I'm trying to iterate a collection of img tags on phantomjs, but it always hangs during the second loop
console.log("length is: " + imgs.length);
for (var i = 0; i < imgs.length; i++){
console.log("Position: " + i + " Code: " + imgs[i].outerHTML);
}
phantom.exit();
};
I've tried changing the html file code just to make sure there wasn't something weird on the tags, but it always runs once and hangs forever during second run, even if i change the order the img tags appear inside the file.
