Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

WWW::Mechanize::Firefox Script Hangs after an Xpath click

by Matt™ (Acolyte)
on Nov 21, 2012 at 05:31 UTC ( #1004838=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     use strict;
    use WWW::Mechanize::Firefox;   
    my url= "**************************************";   
    ...
    sleep(3);
    $mech->click({ xpath => '//span[@class="paginate_button"]' }, { xpath 
    +=>  '//*[contains(text(),"3")]' });
    sleep(3); 
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1004838]
Approved by rovf
Front-paged by toolic
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (17)
As of 2014-04-17 14:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (449 votes), past polls