最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

staleelementreferenceexception - order of list of elements located on a page keep changing on every click in selenium java - Sta

programmeradmin1浏览0评论

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.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论