slloyd has asked for the wisdom of the Perl Monks concerning the following question:
use WWW::Mechanize::Firefox; ... my @buttons = $mech->xpath('//input[@value="Add To Cart"]'); #this find 6 buttons on the page foreach my $button (@buttons){ $mech->click_button(input=>$button); #this hangs }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Clicking and WWW::Mechanize::Firefox
by Anonymous Monk on Feb 11, 2015 at 01:16 UTC |