码迷,mamicode.com
首页 > Web开发 > 详细

casperjs,phantomjs,slimerjs and spooky

时间:2015-01-02 18:43:37      阅读:205      评论:0      收藏:0      [点我收藏+]

标签:

1、casperjs http://casperjs.org/

CasperJS is a navigation scripting & testing utility for PhantomJS and SlimerJS written in Javascript

 

2、phantomjs http://phantomjs.org/

PhantomJS is a headless WebKit scriptable with a JavaScript API. It has fast andnative support for various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG.

 

3、slimerjs http://slimerjs.org/

SlimerJS is useful to do functional tests, page automation, network monitoring, screen capture, etc.

SlimerJS is similar to PhantomJs, except that it runs on top of Gecko, the browser engine of Mozilla Firefox(specifically, version 31), instead of Webkit, and is not yet truly headless.

 

4、spookyjs https://github.com/WaterfallEngineering/SpookyJS

Drive CasperJS from Node.js.

Note: If you are simply looking to control Phantom from Node and don‘t need Casper‘s API, have a look at PhantomJS 1.8, which has native WebDriver support.

 

以上工具可以完成很多前端自动化的工作,截屏,抓取,测试等,跟selenium (http://docs.seleniumhq.org/download/)配合可以完成自动化测试,暂时没深入研究过selenium

casperjs,phantomjs,slimerjs and spooky

标签:

原文地址:http://www.cnblogs.com/argb/p/4198681.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!