casperjs是一个自动化测试框架,功能强大,也很适合当做爬虫软件使用,casperjs基于phantomjs软件,phantomjs是一个没有界面的浏览器环境,基于python环境 一,安装casperjs,需先安装python和phantomjs python下载地址 https://www.python.org/getit/ 安装时选中添加到环境变量 phantomjs最新版改名为phantomjs-prebuilt,可用npm安装 ,注意必须全局安装 npm install -g p…