Special_K has asked for the wisdom of the Perl Monks concerning the following question:

I am using mozrepl with WWW::Mechanize::Firefox in order to access page content after javascript loads. Is it possible to use this combination without actually loading the firefox GUI? Does firefox have some sort of silent or command line mode that can be used instead?

WWW::Mechanize::Firefox already provides methods to access all of the information that I need from my perl script, so the GUI is really just an annoyance at this point.

  • Comment on possible to use mozrepl/WWW::Mechanize::Firefox with no GUI?

Replies are listed 'Best First'.
Re: possible to use mozrepl/WWW::Mechanize::Firefox with no GUI?
by zentara (Cardinal) on Jun 11, 2014 at 09:24 UTC
Re: possible to use mozrepl/WWW::Mechanize::Firefox with no GUI?
by Corion (Patriarch) on Jun 11, 2014 at 06:50 UTC
Re: possible to use mozrepl/WWW::Mechanize::Firefox with no GUI?
by LanX (Saint) on Jun 11, 2014 at 05:02 UTC
    I don't think so, but that's a Firefox question not Perl.

    IIRC the attempts to use phantom.js are motivated by this restriction.

    HTH :)

    edit
    https://github.com/Corion/www-mechanize-phantomjs

    Cheers Rolf

    (addicted to the Perl Programming Language)