in reply to Re: Using WWW::Mechanize::Firefox to navigate a site
in thread Using WWW::Mechanize::Firefox to navigate a site

Dear Corion, I have a doubt on this thread. Can you pls suggest a way?

Is there a provision to pass a string to it like below,

my $Pager = "submit"; my $find_button = $mech->xpath('//*[@id="$Pager"]', single => 1 ); $mech->click( $find_button );

Its not getting me through! Giving an error like 'NO elements found'

Thanks in advance.