admin管理员组文章数量:1353527
Is it possible to loop, individually click similar looking elements and from the new tab launched, click a download link?
Here the first element of the list:
<div role="listitem" aria-label="training session" class="row history-list__row history-list id-4021515650">
...
<div class="col-xs-6 col-sm-4 col-md-4 col-lg-4 exercise-link">
...
<div class="sport-name-container">
<div class="data-column exercise-link">Mountain biking</div>
</div>
</div>
...
</div>
When I went through and recorded one click (by clicking Mountain Biking), I got the following commands logged:
- click, css=.id-4021515650 > .col-xs-6 .data-column
- store window handle, root
- select window, handle=${win2368}
I suspect that handle=${win2368}
is always going to be unique for each tab during each run thus impossible to figure out?
本文标签: selenium ideLooping and clicking similar element that opens new tabStack Overflow
版权声明:本文标题:selenium ide - Looping and clicking similar element that opens new tab - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743932258a2564057.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论