admin管理员组文章数量:1023242
I located elements of languages displayed on google search page. I stored them in a list and iterated through the elements and tried to click one by one. But when I click the first element(link), the order of elements shuffles. when selenium tries to iterate through the next element and clicks it, it shows stale element exception. How to handle this situation? We can find the available language below search input box.
I located elements of languages displayed on google search page. I stored them in a list and iterated through the elements and tried to click one by one. But when I click the first element(link), the order of elements shuffles. when selenium tries to iterate through the next element and clicks it, it shows stale element exception. How to handle this situation? We can find the available language below search input box.
本文标签:
版权声明:本文标题:staleelementreferenceexception - order of list of elements located on a page keep changing on every click in selenium java - Sta 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745549919a2155580.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论