in reply to Re: Login to website (uses JS, I think)
in thread Login to website (uses JS, I think)
I was able to grab Win32-IEAutomation, and it will fill in the form for me. Unfortunately, I can't get it to submit the values! I think I've covered all my bases. Any other ideas, or is it just not gonna do it?
use Win32::IEAutomation; my $ie = Win32::IEAutomation->new( visible => 1, maximize => 1); $ie->gotoURL('http://app001.us1.darkfallonline.com/sf/fwd'); $ie->getTextBox('name:', "username")->SetValue('username'); $ie->getTextBox('name:', "password")->SetValue('password'); my @alllinks = $ie->getAllLinks(); foreach $l (@alllinks) { $l->Click(); } my @allimages = $ie->getAllImages; foreach $i (@allimages) { $i->Click(); } my @alltables = $ie->getAllTables; foreach $t (@alltables) { $t->Click(); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Login to website (uses JS, I think)
by paxprobellum (Initiate) on May 19, 2010 at 01:52 UTC | |
|
Re^3: Login to website (uses JS, I think)
by Anonymous Monk on May 19, 2010 at 02:16 UTC | |
by paxprobellum (Initiate) on May 19, 2010 at 04:04 UTC | |
by Anonymous Monk on May 19, 2010 at 05:24 UTC | |
by paxprobellum (Initiate) on May 21, 2010 at 23:07 UTC |