Upgrading casperjs to use phantomjs 2.0 from 1.9.8
问题 I read that people have found ways to get casperjs to work with phantomjs 2.0 but how could I do the upgrade? For example just swapping out phantomjs folder in /usr/.../casperjs/node_modules/phantomjs with a folder for phantomjs2 doesn't seem to do the trick. I've also made the changes in lib/bootstrap.js to handle the warnings from using 2.0. I'm using mocha-casperjs to create my tests. 回答1: If you want to use PhantomJS 2, then you currently need to either install CasperJS from git (which