Install CasperJs on Windows 10


download http://phantomjs.org/download.html windows version

npm install -g casperjs
copy the folders...
C:\Users\admin\AppData\Roaming\npm\casperjs -> C:\Users\admin\AppData\Roaming\npm\node_modules\casperjs\bin\casperjs

add a new system variable:
control panel -> system -> advanced system settings -> advanced tab -> Enviorment Variables -> click on Path -> edit -> new...

for phantomjs -> the folder where you extraced the phantomjs rar, its bin folder (where phantomjs.exe is)
for casperjs -> the folder copied with the bin folder (where casperjs.exe is)

AFTER adding the system variables open cmd and test all ok (enter phantomjs, CTRL+C, enter casperjs, CTRL+C)


Comments

Popular posts from this blog

Asp.Net Ending Response options, Response.End() vs CompleteRequest()

c# Service Play Sound with NAudio example by Moshe

MatDatePicker Errors