说明

CasperJS是一个开源的导航脚本处理和测试工具,基于PhantomJS(前端自动化测试工具)编写。CasperJS简化了完整的导航场景的过程定义,提供了用于完成常见任务的实用的高级函数、方法和语法。

本文档是个人翻译CasperJS的中文文档,由于本人水平有限,难免有许多纰漏、错误之处,请各位大佬多多指教。

这里是CasperJS的官方英文文档.

目录

这里是目前翻译完毕的章节目录

  1. Installation-安装
  2. Quickstart-快速入门
  3. Using the command line-使用命令行
  4. Selectors-选择器
  5. Testing-测试
  6. API Documentation-API文档
    • The casper module-casper模块
    • The clientutils module-clientutils模块
    • The colorizer module-colorizer模块
    • The Mouse module-mouse模块
    • The tester module-tester模块