in reply to Re^3: Automation of Multiple Windows of Firefox using WWW::Mechanize::Firefox
in thread Automation of Multiple Windows of Firefox using WWW::Mechanize::Firefox

Thank you all for your suggestions. I find that provided that I change the port of MozRepl of one of the FireFox windows and assign the new port to the instance of WWW::Mechanize::Firefox, my script can control the Firefox window. $mech = WWW::Mechanize::Firefox -> new ( launch => 'firefox', repl => "localhost:$instance_port" )
  • Comment on Re^4: Automation of Multiple Windows of Firefox using WWW::Mechanize::Firefox

Replies are listed 'Best First'.
Re^5: Automation of Multiple "Windows" ?
by LanX (Saint) on Aug 16, 2014 at 10:59 UTC
    Is this a question? If yes, did you try?

    For clarity:

    Your use of the word "window" here is very confusing.

    • One Firefox instance can easily have multiple connected windows (ctrl-n).
    • As shown one Firefox installation can run different unconnected profiles.
    • And finally you can run different Firefox installations at once.
    Visually similar, but a big difference in automation!

    Asking fuzzy questions can deter ppl from replying.

    Cheers Rolf

    (addicted to the Perl Programming Language and ☆☆☆☆ :)