in reply to WWW::Scripter eval of JQuery

jQuery has a lot of stuff that assumes it's running inside a traditional desktop browser. WWW::Scripter emulates that environment pretty well, but still not quite well enough to run jQuery. It might get there eventually, but it's not there yet.

There are plenty of actual desktop browsers (e.g. Konqueror - though I haven't tried its WebKit module) that can't run jQuery fully.

Looked at WWW::Mechanize::Firefox?

Replies are listed 'Best First'.
Re^2: WWW::Scripter eval of JQuery
by ait (Hermit) on Mar 06, 2012 at 02:52 UTC

    Thanks for the thorough explanation... I had the feeling that evaling JQuery might have been probably overkill for what I really need. Yep, I looked at mechanize::firefox but it seems to require firefox running with a GUI. Do you know if there is any way to run firefox without GUI or run the Gecko engine as a library, I mean much like Spidermonkey? Maybe using Xvfb or maybe Firefox itself has the ability to run GUI-less like other GUI-intensive apps?, for example Inkscape which has a console/batch mode (e.g. to convert SVG to PDF).

      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.