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

I'm trying to automate a login on http://www.neopets.com/loginpage.phtml . The login is #4 if I'm counting correctly but my script won't find "username" on that form number.

So I don't know what I'm doing wrong. It errors out saying 'username' field doesn't exist.

$url is the URL posted above $mech->get($url); $mech->submit_form( form_number => 4, fields => { username => $name }

Replies are listed 'Best First'.
Re: Having problems using www::mech on this page
by Joost (Canon) on Jun 29, 2007 at 23:34 UTC