I'm trying to use the synchronize method like so:
$mech->get('http://example.com/wp-login.php'); $mech->submit_form( with_fields => {log => 'admin', pwd => 'password'} +); $mech->synchronize( 'DOMConentLoaded', sub {print Dumper($self->title( +)); }); exit;
The title of the newly loaded page prints but then the script just hangs. It never exits. What am I missing?
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
In reply to How to use synchronize method with WWW::Mechanize::Firefox? by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |