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

OverTheWire[.com] Natas Walkthrough - JUST HINT, NO SPOILERS

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

SOLVED The item could not be indexed successfully because the item failed in the indexing subsystem