I needed to have several FF instances running at the same time so I set up profiles in Firefox for each instance of FF needed and launch them like so:
$mech = WWW::Mechanize::Firefox->new(launch => ['firefox', '-P', "Prof +ileName", '-repl', '4244'], repl => 'localhost:4244');
Each profile set up in Firefox will need to have the MozRepl add-on installed and also have a different port number set for repl. The port number for repl can be changed from the FF menu in Tools -> MozRepl -> Change port.
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
In reply to Re: Launching WWW::Mechanize::Firefox with a certain profile
by nysus
in thread Launching WWW::Mechanize::Firefox with a certain profile
by tomgracey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |