(FORK, works with unmodified Qt 5.3) Scriptable Headless WebKit
 
 
 
 
 
 
Go to file
Ivan De Marino 6ec8b3b669 New "shim" Network Access Manager, new 'browsermode' example and more.
The new Network Access Manager currently is designed to do just logging:
- logs HTTP Method type
- logs HTTP Destination URL

The new 'browsermode':
It's in "/examples" and make PhantomJS do just a call to "open(url)".
It has a companion shell script to help with the task.

Also, improvement for Message Handler:
messages are now prefixed with ISO Datetime.
2011-04-09 18:22:52 +01:00
examples New "shim" Network Access Manager, new 'browsermode' example and more. 2011-04-09 18:22:52 +01:00
python Remove setObjectName as we don't need it 2011-04-01 20:50:51 -07:00
src New "shim" Network Access Manager, new 'browsermode' example and more. 2011-04-09 18:22:52 +01:00
.gitignore Major refactoring of the CPP code into separate classes. 2011-04-08 14:30:50 +01: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.