SlimerJS — A scriptable browser for Web developers


SlimerJS allows you to interact with a web page through an external JS script. It is useful to do functional tests, page automation, network monitoring, screen capture, etc.

  .open(url) // 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);

Sounds familiar? It does:

SlimerJS is similar to PhantomJs, except that it runs Gecko, the browser engine of Mozilla Firefox, instead of Webkit (And it is not yet truly headless).

Also plays nice with CasperJS (1.1-beta)

SlimerJS →

Published by Bramus!

Bramus is a frontend web developer from Belgium, working as a Chrome Developer Relations Engineer at Google. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since (more …)

Join the Conversation

1 Comment

  1. Jammer dat het niet headless is… Zou cool zijn om JasmineJS door zowel webkit als gecko te laten uitvoeren. Al is het vooral IE die zich soms verslikt in javascript :p

    Wordt zeker gevolgd!

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.