I\'m trying to run CasperJS having PhantomJS#2.0.0 on a Mac(Yosemite). When trying to run CasperJS I´m ge
Currently there is no newer version than 1.1-beta3 released which contains this check.
The simplest fix would be to open the bin/bootstrap.js file and remove these lines or replacing the lines that are currently in the master branch:
(function (version) {
// required version check
if (version.major === 1) {
if (version.minor < 8) {
return __die('CasperJS needs at least PhantomJS v1.8 or later.');
}
if (version.minor === 8 && version.patch < 1) {
return __die('CasperJS needs at least PhantomJS v1.8.1 or later.');
}
} else if (version.major === 2) {
console.log("Warning PhantomJS v2.0 not yet released. There will not be any official support for any bugs until stable version is released!");
}
else return __die('CasperJS needs PhantomJS v1.x or v2.x');
})(phantom.version);
The other option would be to install CasperJS from git.