in reply to Re^2: Mechanize login, but redirect.
in thread Mechanize login, but redirect. [SOLVED]

Mechanizes uses HTML::Form to process forms, which ignores form elements outside of forms

if that page is using buttons outside of forms, this means javascript is involved, so solution would be as mech faq says, to discover the url using firefox+ livehttpheaders/wireshark or by parsing the javascript in your program

Replies are listed 'Best First'.
Re^4: Mechanize login, but redirect.
by scarfguy (Novice) on May 16, 2016 at 11:14 UTC

    I don't think javascript is involved. It even says that I have to click the button, because it is not supported. I just don't get why $mech -> click(name => "name") is not finding the button by its Name. But it is a minor issue I guess.