I'm not wedded to synchronize. I just want to find a more reliable way than sleep(2) and a less ridiculous way than sleep(30) to wait around for the page to load after a login attempt.
Ultimately, I'm trying to figure out if the login was successful. WordPress just offers up a 200 success code whether login is successful or not so I need to look at the contents of the page to determine if the login worked.
$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^5: 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: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |