phantomjs的安装和使用链接

1.先下载phantomjs并解压
2.将phantomjs的bin目录配置到环境变量中
3.测试phantomjs,cmd下输入phantomjs进入

(按 Ctrl + c 组 合键退出和 phantom.exit();退出命令行了)

4.PhantomJS的使用

网址1:http://javascript.ruanyifeng.com/tool/phantomjs.html 

网址2(官网):http://phantomjs.org/api/webpage/

猜你喜欢

转载自www.cnblogs.com/gottfried/p/9141658.html