1、安装html
1. 下载地址官网:http://phantomjs.org/download.htmlwindows
windows目前最新版本(2015-3-23): phantomjs-2.0.0-windows.zip (19.4 MB) htm
2. 解压到D盘,而后配置windows的系统环境变量PAHT: ip
D:\Program Files\phantomjs-2.0.0-windows\binget
3. 在cmd中输入:phantomjs --versioncmd
会输出版本号:2.0.0it