Free - Open Source

A scriptable browser for Web developers

Download SlimerJS
All operating systems - Version 0.10.3

Try 1.0.0-beta.1 which is compatible with Firefox 57, with a true headless mode!
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, web scraping etc.

SlimerJS is similar to PhantomJs, except that it runs on top of Gecko, the browser engine of Mozilla Firefox, instead of Webkit, and is not truly headless when running with Firefox 55 or older.

SlimerJS is compatible with CasperJS 1.1!!

Read more about SlimerJS...

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