I installed PhantomJS in C:\\xampp\\htdocs\\phantom and also I installed CasperJS in this folder C:\\xampp\\htdocs\\casper
When I tried to run these sample code on c
If you already have installed casperjs locally I think you can run it directly -> MacOs:
$ casperjs sample.js