casperjs是一个自动化测试框架,功能强大,也很适合当做爬虫软件使用,casperjs基于phantomjs软件,phantomjs是一个没有界面的浏览器环境,基于python环境

一,安装casperjs,需先安装python和phantomjs

python下载地址 https://www.python.org/getit/  安装时选中添加到环境变量

phantomjs最新版改名为phantomjs-prebuilt,可用npm安装 ,注意必须全局安装

npm install -g phantomjs-prebuilt

npm install -g casperjs

 phantomjs -v 查看版本号

 

相关文章:

  • 2021-06-27
  • 2022-12-23
  • 2022-12-23
  • 2021-09-02
  • 2022-12-23
  • 2022-12-23
  • 2021-12-01
  • 2021-07-03
猜你喜欢
  • 2021-12-18
  • 2022-12-23
  • 2021-11-20
  • 2021-11-29
  • 2021-04-03
  • 2021-09-05
  • 2021-11-06
相关资源
相似解决方案