PhantomJS是否使用QtWebKit或Blink? [英] Does PhantomJS use QtWebKit or Blink?

查看:124
本文介绍了PhantomJS是否使用QtWebKit或Blink?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

PhantomJS(CasperJS)是否使用WebKit或Chromium作为默认浏览器驱动程序? 如果是WebKit,是直接使用WebKit还是qt或gtk?

Does PhantomJS (CasperJS) use WebKit or Chromium as default browser-driver? If WebKit, is it direct WebKit or qt or gtk?

推荐答案

PhantomJS基于QtWebKit.

PhantomJS is based on QtWebKit.

常见问题解答说:

问:PhantomJS使用哪个WebKit版本?

Q: Which WebKit version is used by PhantomJS?

A:如果您想了解PhantomJS支持的HTML5/CSS3/其他功能,使用WebKit版本不是一个好主意.有关详细信息,请参见支持的Web标准文档页面.

A: If you want to know HTML5/CSS3/other features supported by PhantomJS, using WebKit version is not a good idea. See Supported Web Standards documentation page for details.

如果您真的想获取WebKit版本,请通过用户代理找到它,然后运行examples/useragent.js.实际版本取决于编译PhantomJS的库.

If you really like to get the WebKit version, find it via the user agent, run the examples/useragent.js. The actual version depends on the libraries with which PhantomJS was compiled.

在PhantomJS 1.9.8中为534.34.基于此页面,它于05年发布2011年5月5日.

In PhantomJS 1.9.8 it is 534.34. Based on this page it was released on 05/05/2011.

PhantomJS 2将使用2013年11月发布的538.1 :

截止到2014年5月,它基于webkit 538.1(已有7个月的历史了).

As of May 2014 it is based on webkit 538.1 (7 months old).


CasperJS在PhantomJS(WebKit)或SlimerJS(Gecko)之上运行.当前没有其他可用的引擎.


CasperJS runs on top of either PhantomJS (WebKit) or SlimerJS (Gecko). There are currently no other engines available.

这篇关于PhantomJS是否使用QtWebKit或Blink?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆