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

Hi Monks, Is it possible to open link in a new tab in www::mechanize::firefox. I have 5 links in the root page. I want to process each links one by one in a new tab... process the 1 link and close the tab, again process another link and close the tabnot the root tab. Thanks and Happy Christmas Monks.... :)
  • Comment on Howto: open link in a new tab using www::mechanize::firefox

Replies are listed 'Best First'.
Re: Howto: open link in a new tab using www::mechanize::firefox
by LanX (Saint) on Dec 22, 2012 at 14:41 UTC
    I don't know if there is a direct way to do it ... (at least a quick look into the docs didn't reveal it)

    But temporarily changing the target within a link's DOM just before clicking should do it!

    Cheers Rolf