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.
- Git clone this repo
yarn installin this repo
- To start the project
npm run startor