->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]
In reply to Re^5: How to control two tabs at the same time with WWW::Mechanize::Firefox
by Corion
in thread How to control two tabs at the same time with WWW::Mechanize::Firefox
by mascip
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |