|
Posted by valan on August 3, 2004, 9:57 pm
Please log in for more thread options
When I fill out a form and submit it using $mech->submit() or
$mech->click(), my agent doesn't follow the action. Ex:
use WWW::Mechanize;
$market = "Port Angeles, WA";
my $mech = WWW::Mechanize->new();
$mech->get("http://www.astro.com/atlas");
$mech->set_visible($market);
$mech->submit();
print $mech->content;
When I examine $mech->content, I find it's taken a different action than I
get if I had actually gone to the web page to fill out the form and
pressed return.
|