(FORK, works with unmodified Qt 5.3) Scriptable Headless WebKit
 
 
 
 
 
 
Go to file
Ariya Hidayat 67a9e77770 Bracing for Ghost Flower. 2012-03-20 17:53:04 -07:00
bin Mac OS X: Prevent showing the icon on the dock. 2011-12-19 19:01:48 -08: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 Fix for Issue [439](http://code.google.com/p/phantomjs/issues/detail?id=439). 2012-03-20 17:44:25 -07:00
test Basic tests for the onError handler 2012-03-18 21:44:31 -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:58 -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:53:04 -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.