$n->set_visible( $user, $password );
I've found that set_visible isn't always reliable; sometimes there are other fields or weird javascripty widgets that mess it up. I find it's almost always better to specify the fields by name. So assuming the fields are called 'username' and 'password', try something like:
$n->set_fields( username => $user, password => $password );
In reply to Re: WWW::Mechanize can't log in using it
by friedo
in thread WWW::Mechanize can't log in using it
by Skeeve
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |