FAQ

Or Frequently Asked Questions...

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. See Mozilla bug 446591. However you can launch SlimerJS with xvfb if you are under linux or MacOSx, to have a headless SlimerJS.
What is Gecko?
Gecko is the core engine of Firefox
To which version of Firefox, SlimerJS is compatible?
It depends of the package you downloaded. If you choosed a package dedicated to a specific plateform, SlimerJS embed Gecko 22. So it is compatible with Firefox 22.
If you choose 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).
Can CapserJS 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... ;-)
How can I contribute?
You can contribute in many ways:
Is there a build of SlimerJS containing latest improvements?
Yes, each days a build is made from the "master" branch of the source code. This is the nightly build. Since this is a version in development, don't use it in production.
Download the archive here and its documentation (that you can view 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.