|
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;
|