http://www.perlmonks.org?node_id=1008104


in reply to WWW::Mechanize::Firefox follow link with javascript

You will have to inspect the HTML and Javascript of the page you're automating. As an alternative, you can also use a method that returns DOM objects instead of using a method that returns WWW::Mechanize::Link objects, as per the documentation.
  • Comment on Re: WWW::Mechanize::Firefox follow link with javascript

Replies are listed 'Best First'.
Re^2: WWW::Mechanize::Firefox follow link with javascript
by Anonymous Monk on Dec 10, 2012 at 16:15 UTC

    Thanks for the help. For the benefit of anyone else with this problem, the solution was to use the find_all_links_dom() function which returns the correct sort of link objects to use with the click function.