发布于 2015-02-03 01:17:52 | 424 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的PhantomJS教程,程序狗速度看过来!

PhantomJS

PhantomJS 是一个基于WebKit的服务器端 JavaScript API。它全面支持web而不需浏览器支持,其快速,原生支持各种Web标准: DOM 处理, CSS 选择器, JSON, Canvas, 和 SVG。PhantomJS可以用于页面自动化,网络监测,网页截屏,以及无界面测试等。


PhantomJS 2.0.0 发布,此版本更新了基于 Qt 5.3 的 WebKit 库;不再支持 CoffeeScript,不能再运行 CoffeeScript 编写的脚本。

PhantomJS 2.0.0 现已提供下载:http://phantomjs.org/download.html

更新内容:

新特性:

* 切换到 Qt5,更新 WebKit (issue 10448)
* 完成内存缓存清理 (issue 10357)
* 添加对每个请求 HTTP header 修改的支持 (issue 11299)

改进

* Fixed rendering of CJK text by always linking the codecs (issue 10249)
* Ensured onResourceReceived is still fired on an error (issue 11163)
* Fixed possible crash in handling network requests (issue 11252)
* Removed hardcoded GhostDriver launching message (issue 12681)
* 允许硬盘缓存大于 2 GB (issue 12303)

示例

* Netsniff example should exit when fails to load (issue 11333)

更多内容请看:

https://github.com/ariya/phantomjs

PhantomJS 是一个基于WebKit的服务器端 JavaScript API。它全面支持web而不需浏览器支持,其快速,原生支持各种Web标准: DOM 处理, CSS 选择器, JSON, Canvas, 和 SVG。PhantomJS可以用于页面自动化,网络监测,网页截屏,以及无界面测试等。



历史版本 :
PhantomJS 2.5.0 Beta 发布,WebKit 的服务端 API
PhantomJS 2.1 发布,WebKit 的服务端 API
PhantomJS 2.0.0 发布,服务器端 JavaScript
PhantomJS 2.0 即将发布,Webkit 脚本化
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务