I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2005-08-10 17:42:15-07 by irma
submit_form() and content of the new page
Hi, This is my first time playing with Win32::IE::Mechanize, and I am encountering a strange behavior. On IE, I see that the following code succesfully logged me in and redirected me to the next page. However, $ie->content still contains the html of the login page. When I tried the following code for paypal, it works just fine. Does anyone have any idea?
use Win32::IE::Mechanize; my $ie = Win32::IE::Mechanize->new( visible => 1 ); $ie->get( 'https://xxx.xxx.com' ); $ie->submit_form( form_name => 'frmLogin', fields => { txtUser => 'aaa', txtPass => 'bbb', }, button => 'Login', ); die unless ($ie->success); print $ie->content;
Direct Responses: 1303 | Write a response