phantomjs/README.md

26 lines
1017 B
Markdown
Raw Normal View History

2010-12-27 11:22:04 +03:00
PhantomJS is a minimalistic, headless, WebKit-based JavaScript-driven tool.
2010-12-27 06:49:33 +03:00
It has native (and high performant) support for DOM handling, CSS selector,
JSON, Canvas, and SVG.
2011-01-26 06:13:40 +03:00
Read the (announcement blog post)[http://goo.gl/sZfM7].
2011-01-02 23:21:14 +03:00
PhantomJS runs on Linux, Windows, and Mac OS X. Refer to the
[build instructions](http://code.google.com/p/phantomjs/wiki/BuildInstructions)
for details.
2010-12-27 06:49:33 +03:00
2011-01-02 23:21:14 +03:00
See also [quick start guide](http://code.google.com/p/phantomjs/wiki/QuickStart)
and more [advanced examples](http://code.google.com/p/phantomjs/wiki/ServiceIntegration)
which show various PhantomJS scripts, covering:
2010-12-27 06:49:33 +03:00
2011-01-02 23:21:14 +03:00
* 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
2010-12-28 09:59:36 +03:00
2011-01-02 23:21:14 +03:00
Do not forget to consult the concise [API Reference](http://code.google.com/p/phantomjs/wiki/Interface).