Setup Babel for casperjs
This is a boilerplate for Casper.js with ES6. I use babel in order to transpile ES6 into ES5 for Phantom.js to understand.
Casper.js runs on phantom.js, it is not node.js! Although the syntax looks the same (both uses common js) but phantom does not support ES6.
npm install
or yarn install
in this reponpm run start
or yarn start
MIT