http://www.perlmonks.org?node_id=958036


in reply to Re^2: WWW::Scripter eval of JQuery
in thread WWW::Scripter eval of JQuery

Not tried this with Firefox, but many years ago I did something along these lines with OpenOffice.org to generate PDF files from various other formats. I used TightVNC Server to create a spare X11 display and ran OpenOffice.org on that.