When I try to run the following extremely simple PhantomJS script, I get a parsing error:
var page = require('webpage').create(); page.open('http://compare.nissanusa.com/nissan_compare/NNAComparator/TrimSelect.jsp', function (status) {});
Does anyone know why this might happen? The error message is not at all useful ... It just says “Analysis error”.
Could this be a bug in PhantomJS?
I am using PhantomJS version 1.9. I can run the above script with other URLs, but for some reason certain URLs return a parsing error ...
Any help would be greatly appreciated!
source share