Probably it is launched with an incompatible version of Firefox. If you use a lightweight edition, verify that the environment variable SLIMERJSLAUNCHER contains the path to a Firefox that is compatible with SlimerJS. To verify, launch /path/to/firefox --version. The displayed version should be between MinVersion and MaxVersion indicated into the application.ini file of SlimerJS.
Verify that you have enough free memory on your system.
A browser is very complex program. The final rendering (the appearance of the web page) depends on many different things:
So, don’t expect to have exactly the same results between any browser and SlimerJS. Moreover, as SlimerJS is executed on top of Firefox, so At least, the rendering with SlimerJs may be exactly the same as with Firefox (same gecko version, on the same operating system). However you could have some difference in some extrem case (high zooming for example) and with different operating system (even it is the same gecko version).
You can speak with us about rendering issues, on the mailing list.
This is because of a bug in Gecko (which was resolved as WONTFIX). However it can work in some cases, when the <object> element contains <param name="wmode" value="transparent">.
First, you can try to give the focus to the window you want to capture :
page.evaluate(function () {
window.focus();
});
It may not work, especially when you use xvfb and there is no window manager. So a solution is to execute xvfb with a script that launches a window manager (like fluxbox for example), then that launches Slimerjs.