SlimerJS

Free - Open Source

A scriptable browser for Web developers

Download SlimerJS
All operating systems - Version 0.9.4

Compatible with CasperJS 1.1 beta!!
Release notes

SlimerJS allows you to interact with a web page through an external JS script

> Opening a webpage,
> Clicking on links,
> Modifying the content...

SlimerJS is useful to do functional tests, page automation, network monitoring, screen capture, etc.

SlimerJS is similar to PhantomJs, except that it runs on top of Gecko, the browser engine of Mozilla Firefox (specifically, version 31), instead of Webkit, and is not yet truly headless.

Read more about SlimerJS...

Simple example
var webpage = require('webpage').create();
webpage
  .open('http://somewhere') // loads a page
  .then(function(){ // executed after loading
    // store a screenshot of the page
    webpage.viewportSize =
        { width:650, height:320 };
    webpage.render('page.png',
                   {onlyViewport:true});
    // then open a second page
    return webpage.open('http://somewhere2');
  })
  .then(function(){
    // click somewhere on the second page
    webpage.sendEvent("click", 5, 5,
                        'left', 0);
    slimer.exit()
  });