mirror of https://github.com/vitalif/phantomjs
24 lines
960 B
Markdown
24 lines
960 B
Markdown
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.
|
|
|
|
PhantomJS runs on Linux, Windows, and Mac OS X. Refer to the
|
|
[build instructions](http://code.google.com/p/phantomjs/wiki/BuildInstructions)
|
|
for details.
|
|
|
|
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:
|
|
|
|
* 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](http://code.google.com/p/phantomjs/wiki/Interface).
|