Use PhantomJS instead of Firefox.