in reply to Re^3: Perl and Javascriptin thread Perl and Javascript
One long-shot alternative is to run Firefox within a virtual X display, like xvfb provides.
Another, even more long-shot alternative would be to try to compile Firefox without its display components.
I never tried either, as I have a dedicated machine that runs just Firefox for automation.