PS: i forgot to say yesterday that in the cookbook (here) the code is (slighly) broken:
When $retries reaches 0, then it becomes equal to -1 and the "Timeout" exception is not triggered.
It's just a detail, but i thought it might help others if it was fixed : i waited for 10 seconds many times before realizing that is was not the page charging, but just a Timeout.
In reply to Re^6: How to control two tabs at the same time with WWW::Mechanize::Firefox
by mascip
in thread How to control two tabs at the same time with WWW::Mechanize::Firefox
by mascip
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |