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