Skip to content

Fransan/phantomjs

This branch is 1 commit ahead of, 325 commits behind ariya/phantomjs:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Francisco Santiago
Aug 20, 2014
a7c6b4e · Aug 20, 2014
Jan 9, 2013
Aug 18, 2014
Apr 23, 2014
Aug 20, 2014
Aug 17, 2014
Jun 5, 2013
Mar 9, 2014
Jul 28, 2014
Aug 15, 2013
Jul 30, 2014
Dec 27, 2010
Apr 8, 2014
Aug 18, 2014
Aug 16, 2014
Dec 27, 2010
Dec 5, 2013

Repository files navigation

PhantomJS - Scriptable Headless WebKit

PhantomJS (www.phantomjs.org) is a headless WebKit scriptable with JavaScript or CoffeeScript. It is used by hundreds of developers and dozens of organizations for web-related development workflow.

The latest stable release is version 1.9 (codenamed "Sakura"). Follow the official Twitter stream @PhantomJS to get the frequent development updates.

Note: Please do not create a GitHub pull request without reading the Contribution Guide first. Failure to do so may result in the rejection of the pull request.

Travis CI

Branch Build Status
master Build Status
1.9 Build Status

Use Cases

  • Headless web testing. Lightning-fast testing without the browser is now possible! Various test frameworks such as Jasmine, Capybara, QUnit, Mocha, WebDriver, YUI Test, BusterJS, FuncUnit, Robot Framework, and many others are supported.
  • 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.

Ecosystem

PhantomJS needs not be used only as a stand-alone tool. Check also some excellent related projects:

  • CasperJS enables easy navigation scripting and common high-level testing.
  • Poltergeist allows running Capybara tests headlessly.
  • Guard::Jasmine automatically tests Jasmine specs on Rails when files are modified.
  • GhostDriver complements Selenium tests with a PhantomJS WebDriver implementation.
  • PhantomRobot runs Robot Framework acceptance tests in the background via PhantomJS.
  • Mocha-PhantomJS run Mocha tests using PhantomJS.

and many others related projects.

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 Ariya Hidayat (Twitter: @ariyahidayat), with the help of many contributors.

About

Scriptable Headless WebKit

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 64.5%
  • C 20.2%
  • JavaScript 4.9%
  • Objective-C++ 3.8%
  • Python 3.0%
  • Objective-C 1.4%
  • Other 2.2%