I've also tried the following:
$self->synchronize( 'DOMContentLoaded', sub { $self->submit_form( with +_fields => {log => 'admin', pwd => 'password'} ) } );
The submit_form gets called and the next page loads but then the script just hangs.
$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 Re^3: How to use synchronize method with WWW::Mechanize::Firefox?
by nysus
in thread How to use synchronize method with WWW::Mechanize::Firefox?
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |