(FORK, works with unmodified Qt 5.3) Scriptable Headless WebKit
 
 
 
 
 
 
Go to file
david 8c645ecd79 Added tests for customHeaders.
http://code.google.com/p/phantomjs/issues/detail?id=77.
2012-03-27 22:23:46 -07:00
bin Mac OS X: Prevent showing the icon on the dock. 2011-12-19 19:01:48 -08:00
debian The python package is arch: all 2011-07-03 22:11:08 +02:00
deploy Build scripts clean up. 2012-03-09 07:29:48 -08:00
examples printenv.js: New example to show system.env. 2012-03-15 01:33:27 -07:00
src Remove setting and command-line option for plugins loading. 2012-03-23 07:42:17 -07:00
test Added tests for customHeaders. 2012-03-27 22:23:46 -07:00
tools No X11 requirement on Linux. 2012-03-13 22:07:10 -07:00
website Update web site to mention version 1.5. 2012-03-20 00:03:51 -07:00
.gitignore add a bunch of gitignores for Qt build artifacts 2012-03-14 17:57:28 -07:00
ChangeLog More changes for 1.5. 2012-03-20 17:52:31 -07:00
LICENSE.BSD Long live PhantomJS! 2010-12-26 19:49:33 -08:00
README.md Bracing for Ghost Flower. 2012-03-20 17:52:43 -07:00
build.sh Qt import: Script to build everything, for Linux and Mac OS X. 2012-03-06 19:01:24 -08:00
phantomjs.pro Import the old, working prototype. 2010-12-26 20:15:19 -08:00

README.md

PhantomJS (www.phantomjs.org) is a headless WebKit with JavaScript API.

It has fast and native support for DOM handling, CSS selector, JSON, Canvas, and SVG.

PhantomJS is cross-platform, it can be compiled for Linux, Windows, FreeBSD, and Mac OS X. Refer to the build instructions for details.

Note: If you are on Mac OS X, read the notice before you start using brew or port to install Qt and/or PhantomJS.

PhantomJS scripts can be written in JavaScript or CoffeeScript.

See also quick start guide and more advanced examples which show various PhantomJS scripts, covering:

  • getting driving direction
  • showing weather forecast conditions
  • finding pizza in New York
  • looking up approximate location based on IP address
  • pulling the list of seasonal food
  • running regression tests from command line
  • producing PDF version of a Wikipedia article
  • rasterizing SVG to image

Do not forget to consult the concise API Reference.

PhantomJS is based on Qt.

The latest stable release is version 1.5 ("Ghost Flower").

If you want to contribute, please read the Contribution Guide.