Phantomjs installation for Windows [closed]

混江龙づ霸主 提交于 2019-12-08 19:10:35

问题


I downloaded the "phantomjs-1.7.0-windows.zip " for Windows from here.

I even set up the path of the extracted folder in the environment variables. But I am getting the "parse error" when I try to enter any command like phantomjs --version in the phantomjs.exe command prompt. (My Windows is 64 bit.)

Why is it throwing the error?


回答1:


Type phantomjs --version in the Windows command-prompt.

If you launch PhantomJS by executing phantomjs.exe, you are now inside PhantomJS interactive mode (REPL). In this prompt, you should type JavaScript code.



来源:https://stackoverflow.com/questions/12913172/phantomjs-installation-for-windows

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!