EDIT : Here the best solution : install it via npm : For the best way to install phantomjs + casperjs + slimerjs without PATH and OS compatibility headlock :
In windows the exe will be set here : C:\Users\UserName\AppData\Roaming\npm (you don't need to put them in PATH, node -npm actually- manages it with the -g flag). Keep in mind slimerjs has some relative path problems, so to keep the compatibility between phantom and slimer, use |
转载于:https://www.cnblogs.com/jenking/p/4529899.html