PhantomJS
  • Important: Since version 2.1.4 we will not support static linking
  • Important: PJS version 2.5 is not supported.
  • Info: Our repo on BitBucket is deprecated. Use our GitHub repo instead
  • Info: We are slowly phasing out support of PJS 2.1.1. EOL for 2.1.1 is 01-03-2018
  • Full web stack
    No browser required

    PhantomJS is a headless WebKit scriptable with a JavaScript API. It has fast and native support for various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG.

    Download v2.1.3-dev-release

    // Simple Javascript example
    
    console.log('Loading a web page');
    var page = require('webpage').create();
    var url = 'http://phantomjs.org/';
    page.open(url, function (status) {
      //Page is loaded!
      phantom.exit();
    });
          
    Fork PhantomJS on GitHub