(FORK, works with unmodified Qt 5.3) Scriptable Headless WebKit
 
 
 
 
 
 
Go to file
Nick Rowe 761f456c32 Change comment in run-jasmine example to be consistent with the way the code is written 2011-10-06 19:45:57 -07:00
debian The python package is arch: all 2011-07-03 22:11:08 +02:00
deploy Mac build script: check curl status to detect failed download. 2011-09-10 17:23:36 -07:00
examples Change comment in run-jasmine example to be consistent with the way the code is written 2011-10-06 19:45:57 -07:00
python Fix bug in CookieJar where QSettings expected str, but got QByteArray instead (#10) 2011-10-04 21:42:52 -07:00
src Bracing for release, no "development" in the version string. 2011-09-22 19:29:06 -07:00
test Add unit tests for initializing WebPage via constructor 2011-09-18 22:49:58 +09:00
.gitignore Debian packaging 2011-07-03 21:47:50 +02:00
ChangeLog Cosmetic update to ChangeLog. 2011-09-16 21:57:57 -07:00
LICENSE.BSD Long live PhantomJS! 2010-12-26 19:49:33 -08:00
README.md This is "Water Lily". 2011-09-23 22:02:06 -07: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. There are two implementations, using C++ and Python.

The last stable release is version 1.3 ("Water Lily").

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