(FORK, works with unmodified Qt 5.3) Scriptable Headless WebKit
 
 
 
 
 
 
Go to file
IceArmy 7f6fec5b5e Refactor main file
- Moved main code to main()
- Moved argument parsing to parseArgs()

Changed
- Removed qFatal's and replaced them with sys.exit(message)
- upload-file: Fixed bug where tag= (if it wasn't in first arg) wasn't caught as empty
- upload-file: Added duplicate tag checking
2011-04-27 02:45:41 -07:00
examples Use YAML-Style array creation in follow.coffee. 2011-04-25 18:28:26 +02:00
python Refactor main file 2011-04-27 02:45:41 -07:00
src Fix issue 93: build with Qt 4.5. 2011-04-18 22:50:27 -07:00
.gitignore Some extra ".gitignore" options. 2011-04-19 01:03:25 +01:00
ChangeLog Optimistically place the release date. 2011-04-27 00:51:47 -07:00
LICENSE.BSD Long live PhantomJS! 2010-12-26 19:49:33 -08:00
README.md Mention the contribution guide. 2011-04-09 23:55:09 -07: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.

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