SlimerJS

Free - Open Source

A scriptable browser for Web developers

Download SlimerJS 1.0
All operating systems - Version 1.0.0

Compatible with CasperJS 1.1
Release notes
Slimerjs is only compatible with Firefox 59.
Higher version of Firefox will not be supported
because developments on SlimerJS have ceased since 2018.

See FAQ

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 it can be headless or not.

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()
  });