in reply to Re^2: Click button not working in WWW::Mechanize
in thread Click button not working in WWW::Mechanize
because all the buttons had that name.name => "action",
#!/usr/bin/perl use warnings; use strict; use WWW::Mechanize; my $mech = WWW::Mechanize->new(); my $tf_add = "http://rulai.cshl.edu/cgi-bin/SCPD/getgene2?ARG1"; $mech->get($tf_add); $mech->set_fields( 'start' => -450, 'end' => 50 ); # this part works # but not this: $mech->click_button( value => "Retrieve sequence" ); #$mech->submit(); my $result = $mech->content(); print "$result\n";
|
|---|