(FORK, works with unmodified Qt 5.3) Scriptable Headless WebKit
 
 
 
 
 
 
Go to file
Alessandro Portale d14be77e56 Issue 20: JPG transparent colour is black.
Filling QImage with transparent white instead of transparent
black. For an artifact free rendering of a transparent web
page into PNG, Format_ARGB32 is needed instead of
Format_ARGB32_Premultiplied.
2011-01-27 16:54:58 +01:00
examples Change phantom.arguments to phantom.args. 2011-01-14 22:24:47 -08:00
src Issue 20: JPG transparent colour is black. 2011-01-27 16:54:58 +01:00
ChangeLog Add ChangeLog. 2011-01-17 02:18:14 -08: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.