Scriptable Headless Browser

License: BSD-3-Clause

Language: HTML

Keywords: automation, headless, headless-testing, javascript, phantomjs

PhantomJS - Scriptable Headless WebKit

PhantomJS ( 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.


  • 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
  • Easy to install: Download, unpack, and start having fun in just 5 minutes.


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.

Project Statistics

Sourcerank 6
Repository Size 158 MB
Stars 26,857
Forks 5,696
Watchers 1,230
Open issues 1,823
Dependencies 3
Contributors 146
Tags 25
Last updated
Last pushed

Top Contributors See all

Ariya Hidayat Ivan De Marino Vitaly Slobodin execjosh Zack Weinberg Jon Leighton Milian Wolff Robert Gieseke fsouza Juliusz Gonera Alessandro Portale James M. Greene jimevans Marc Epard Leo Franchi neraliu Jacek Migdal Ian Oxley Aaron Stone david

Packages Referencing this Repo

Scriptable Headless Browser
Latest release 2.1.3 - Published - 26.9K stars
PhantomJS is a headless WebKit scriptable with a JavaScript API. It has fast and native support f...
Latest release 2.1.3 - Published - 26.9K stars
Scriptable Headless Browser
Latest release 2.1.3 - Published - 26.9K stars

Recent Tags See all

2.1.3 January 08, 2018
2.1.2 December 21, 2017
2.1.1 January 24, 2016
2.1.0 January 24, 2016
2.0.0 January 24, 2015
1.9.8 October 23, 2014
1.9.7 January 26, 2014
1.9.6 January 21, 2014
1.9.3 January 19, 2014
1.9.2 September 06, 2013
1.9.1 June 05, 2013
1.9.0 March 21, 2013
1.8.2 March 03, 2013
1.8.1 January 06, 2013
1.8.0 December 22, 2012

Interesting Forks See all

PhantomJS 2.0.0 binaries for OSX and linux (temp, until upstream is patched)
C++ - BSD-3-Clause - Last pushed - 81 stars - 9 forks
Scriptable Headless WebKit, once more with plugin support
C++ - BSD-3-Clause - Last pushed - 79 stars - 20 forks
Headless WebKit with JavaScript API
C++ - BSD-3-Clause - Last pushed - 43 stars - 7 forks
Scriptable Headless WebKit
C++ - BSD-3-Clause - Last pushed - 40 stars - 11 forks
This fork of PhantomJS is "bleeding edge" and focused on GhostDriver. For the official PhantomJS,...
C++ - BSD-3-Clause - Last pushed - 24 stars - 11 forks

Something wrong with this page? Make a suggestion

Last synced: 2018-08-01 03:55:36 UTC

Login to resync this repository