in reply to Re^4: How to control two tabs at the same time with WWW::Mechanize::Firefox
in thread How to control two tabs at the same time with WWW::Mechanize::Firefox
->is_visible expects your XPath expression to find 0 or 1 element, not more. If you know that there will be zero or multiple elements, you can restrict your XPath expression by using an index:
//a[@class="kl"][1]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: How to control two tabs at the same time with WWW::Mechanize::Firefox
by mascip (Pilgrim) on Mar 12, 2012 at 00:00 UTC | |
|
Re^6: How to control two tabs at the same time with WWW::Mechanize::Firefox
by mascip (Pilgrim) on Mar 12, 2012 at 12:02 UTC |