(FORK, works with unmodified Qt 5.3) Scriptable Headless WebKit
 
 
 
 
 
 
Go to file
Ariya Hidayat da078de819 Add the importer script to include Qt source.
http://code.google.com/p/phantomjs/issues/detail?id=226
2012-03-02 07:22:09 -08: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 Deploy script refactoring and improvements. 2012-02-09 01:12:47 -08:00
examples Fix jasmine example terminating too early against jasmine 1.1.0. 2012-03-01 08:17:51 -08:00
src Filesystem module should allow reading and writing binary files. 2012-02-29 07:55:00 -08:00
test Filesystem module should allow reading and writing binary files. 2012-02-29 07:55:00 -08:00
tools Add the importer script to include Qt source. 2012-03-02 07:22:09 -08:00
website Update content, optimize loading 2012-02-03 09:10:35 -08:00
.gitignore Remove PyPhantomJS. 2012-01-15 18:24:18 -08:00
ChangeLog Changes for 1.4.1. 2011-12-30 08:28:56 -08:00
LICENSE.BSD Long live PhantomJS! 2010-12-26 19:49:33 -08:00
README.md Remove PyPhantomJS. 2012-01-15 18:24:18 -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.4 ("Glory of the Snow").

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