A scriptable browser for Web developers
Download SlimerJS
All operating systems - Version 0.6.1
Release notes
> Opening a webpage,
> Clicking on links,
> Modifying the content...
SlimerJS is useful to do functional tests, page automaton, network monitoring, screen capture, etc.
SlimerJS is similar to PhantomJs, except that it runs Gecko, the browser engine of Mozilla Firefox, instead of Webkit.
Simple example webpage.open(url) // load a page .then(function(){ // store a screenshot of the page webpage.viewportSize = { width:650, height:320 }; webpage.render('page.png'); // then open a second page return webpage.open(url2); }) .then(function(){ // click somewhere on // the second page webpage.sendEvent("click", 5, 5, 'left', 0); slimerjs.exit() });