in reply to Re^2: Click on "any" href
in thread Click on "any" href

Have a look at WWW::Mechanize::Firefox, which, as the name says, requires Firefox, and make sure to look at the "Incompatibilities" section of the documentation too.