in reply to Re^6: WWW::Mechanize::Firefox delayed returns / slow
in thread WWW::Mechanize::Firefox delayed returns / slow
Maybe it is the call to ->content that is slow? Consider using ->selector() and/or ->xpath to extract the element and then ->{innerHTML} to get at its contents.
All your changing around of the ->_wait_while_busy subroutine will only destabilize the whole thing as your script will not wait anymore for Firefox to signal it is ready. Doing this without knowing when and why to do it will only end in tears. It is an internal method and should not be ignored lightly (and if you want to ignore it, there most likely are routines more to the point than this one).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: WWW::Mechanize::Firefox delayed returns / slow
by mascip (Pilgrim) on Apr 09, 2014 at 16:22 UTC | |
by Corion (Patriarch) on Apr 09, 2014 at 17:26 UTC | |
by mascip (Pilgrim) on Apr 10, 2014 at 09:22 UTC | |
by Corion (Patriarch) on Apr 10, 2014 at 09:56 UTC | |
by mascip (Pilgrim) on Apr 10, 2014 at 18:09 UTC |