Skip to content

aivaturi/phantomjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhantomJS (www.phantomjs.org) is a headless WebKit with JavaScript API.

It has fast and native support for DOM handling, CSS selector, JSON, Canvas, and SVG.

PhantomJS is cross-platform, it can be compiled for Linux, Windows, FreeBSD, and Mac OS X. Refer to the build instructions for details.

Note: If you are on Mac OS X, read the notice before you start using brew or port to install Qt and/or PhantomJS.

PhantomJS scripts can be written in JavaScript or CoffeeScript.

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.

PhantomJS is based on Qt. There are two implementations, using C++ and Python.

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

About

Headless WebKit with JavaScript API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 48.5%
  • JavaScript 22.0%
  • C 12.7%
  • C++ 12.6%
  • CoffeeScript 3.9%
  • Shell 0.2%
  • Other 0.1%