FAQ

Or Frequently Asked Questions...

General FAQ. For the technical FAQ, see the manual.

Why is it not natively headless?
You see windows during the execution of your script? It's normal. Gecko, the rendering engine of Firefox, cannot render web content without a graphical window.
You can launch SlimerJS with xvfb if you are under linux or MacOSx, to have a headless SlimerJS.
There is a hope for future release of SlimerJS, with latest improvements made in Gecko.
What is Gecko?
Gecko is the core engine of Firefox.
Which version of Firefox is SlimerJS compatible with?
It depends of the package you downloaded. If you chose a package dedicated to a specific platform, SlimerJS embeds Gecko 38. So it is compatible with Firefox 38.
If you chose the lightweight package, it runs with your Firefox, so it can run with any version since Firefox 20 (probably lower versions but you could have some issues; Not tested).
Note that officially, SlimerJS is only compatible with stable versions of Firefox.
Can SlimerJS be executed with unstable version of Firefox?
Yes, if you make some changes. This is explained in the installation manual.
Can CasperJS be launched with SlimerJS?
Yes, since SlimerJS 0.8, and with CasperJS 1.1beta1 or higher. Just launch CasperJS as usual by adding --engine=slimerjs on the command line.
Why is it called "SlimerJs"?
Slimer is the name of a ghost in the movie "GhostBusters". As you may know, the Firefox source code uses some references from this movie, and since PhantomJS, CasperJs and other related tools, is a matter of ghosts... ;-)
I found some English errors on the web site or in the documentation
Our apologies for that. English is not the mother tongue of the main author. And he didn't work enough at school in English class :). However, he will be very happy to receive your help to fix English errors. See below how to contribute :-)
How can I contribute?
You can contribute in many ways:
Is there a build of SlimerJS containing the latest improvements?
Yes, each day a build is made from the "master" branch and the stable branch of the source code. This is the nightly build. Since these are development versions don't use them in production.
Download the archive from the stable branch (which contains only latest bug fixes) or from the master branch (which contains latest improvements for the future major release). You can view the documentation from the master branch online here.
Why are there no tests on the WebServer object in the source code?
This module is based on the httpd component of Mozilla used for their own unit tests, and that is already heavily tested
Why are there no tests on the FileSystem object in the source code?
This module is based on the file module provided in the Mozilla Addons SDK, and is already tested.