In this code i have 2 select one species at a single time.Somehow the 'species' field isn't found and an error is issued instead.I am using www:mechanize:firefox module which understand the javascript .then why the error is coming "input species not found:.plz help me.use strict; use Data::Dumper; use Carp; use WWW::Mechanize; use WWW::Mechanize:Firefox; my $address = 'http://genie.dartmouth.edu/scope'; my $file = "ROX1.fasta"; my $email = 'myemail@gmail.com'; my $id = "ROX1 - Scope"; my $species = "S. cerevisiae"; my $mech = WWW::Mechanize->new(); $mech->get($address); $mech->select( 'species', $species); # this doesn't work. $mech->set_fields( #'species' => $species, # this also won't work # But the rest of these fields are recognized 'groupFile' => $file, 'emailAddress' => $email, 'emailSubject' => $id ); $mech->submit; my $result = $mech->content(); print "$result\n";
In reply to WWW::Mechanize :firefox 'select' method by rashichauhan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |