PhantomJS

PhantomJS是一个'headless'的WebKit脚本,具有JavaScript API。 (PhantomJS is a headless WebKit scriptable with a JavaScript API.)

Github星跟蹤圖

PhantomJS是一个'headless'的WebKit脚本,具有JavaScript API。 它支持各种Web标准:DOM处理,CSS选择器,JSON,Canvas和SVG。

用例
  • 'headless' web测试。 没有浏览器的闪电快速测试现在是可能的!
  • 页面自动化。 使用标准DOM API访问和操作网页,或者使用像jQuery这样的常用库。
  • 屏幕截图。 以编程方式捕获网页内容,包括CSS,SVG和Canvas。 构建服务器端Web图形应用程序,从屏幕截图服务到矢量图表光栅化器。
  • 网络监控。 自动执行性能分析,跟踪页面加载和导出为标准HAR格式。

特性

  • 多平台,主要操作系统可用:Windows,Mac OS X,Linux和其他Unices。
  • 快速和本地实现Web标准:DOM,CSS,JavaScript,Canvas和SVG。 没有模拟!
  • 纯粹无头(无X11)在Linux上,是连续集成系统的理想选择。 还运行在Amazon EC2,Heroku和Iron.io.
  • 易于安装:只需5分钟即可下载,解压缩,开始享受乐趣。

概覽

名稱與所有者ariya/phantomjs
主編程語言C++
編程語言C (語言數: 8)
平台
許可證BSD 3-Clause "New" or "Revised" License
發布數23
最新版本名稱2.1.1 (發布於 2016-01-24 11:17:02)
第一版名稱1.0.0 (發布於 )
創建於2010-12-27 08:18:58
推送於2022-11-26 19:43:12
最后一次提交2020-07-13 08:08:08
星數29.4k
關注者數1.1k
派生數5.8k
提交數2k
已啟用問題?
問題數4745
打開的問題數14
拉請求數562
打開的拉請求數0
關閉的拉請求數575
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?

PhantomJS - Scriptable Headless WebKit

PhantomJS (phantomjs.org) is a headless WebKit scriptable with JavaScript. The latest stable release is version 2.1.

Important: PhantomJS development is suspended until further notice (see #15344 for more details).

Use Cases

  • Headless web testing. Lightning-fast testing without the browser is now possible!
  • Page automation. Access and manipulate web pages with the standard DOM API, or with usual libraries like jQuery.
  • Screen capture. Programmatically capture web contents, including CSS, SVG and Canvas. Build server-side web graphics apps, from a screenshot service to a vector chart rasterizer.
  • Network monitoring. Automate performance analysis, track page loading and export as standard HAR format.

Features

  • Multiplatform, available on major operating systems: Windows, Mac OS X, Linux, and other Unices.
  • Fast and native implementation of web standards: DOM, CSS, JavaScript, Canvas, and SVG. No emulation!
  • Pure headless (no X11) on Linux, ideal for continuous integration systems. Also runs on Amazon EC2, Heroku, and Iron.io.
  • Easy to install: Download, unpack, and start having fun in just 5 minutes.

Questions?

PhantomJS is free software/open source, and is distributed under the BSD license. It contains third-party code, see the included third-party.txt file for the license information on third-party code.

PhantomJS is created and maintained by @ariyahidayat, with the help of many contributors.

去到頂部