(FORK, works with unmodified Qt 5.3) Scriptable Headless WebKit
 
 
 
 
 
 
Go to file
Ariya Hidayat 87a337f6df Merge branch 'master' of https://github.com/wouterdebie/phantomjs into wouterdebie-master 2011-03-30 08:13:53 -07:00
examples Issue 17: Make paper size for the PDF export specifiable 2011-03-18 10:26:45 +01:00
python General improvements 2011-03-30 05:02:16 -07:00
src Match coding style 2011-03-30 08:18:47 +02:00
.gitignore Enhanced the "usage" message and fixed misdocumented behaviour of "--load-plugins" 2011-02-28 23:17:59 +00:00
ChangeLog Add icon files for Windows and OS/2. 2011-03-18 23:43:45 -07:00
LICENSE.BSD Long live PhantomJS! 2010-12-26 19:49:33 -08:00
README.md Fix wrong markdown. 2011-01-25 19:17:26 -08:00
phantomjs.pro Import the old, working prototype. 2010-12-26 20:15:19 -08:00

README.md

PhantomJS is a minimalistic, headless, WebKit-based JavaScript-driven tool.

It has native (and high performant) support for DOM handling, CSS selector, JSON, Canvas, and SVG.

Read the announcement blog post.

PhantomJS runs on Linux, Windows, and Mac OS X. Refer to the build instructions for details.

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.