[英]Selenium(WebDriver) Cannot find and click element: <a class=“page-next” href=“javascript:gotoPage(2)”></a>
[英]Selenium Webdriver cannot find the element that has javascript
在我看来,该元素是在单击按钮时动态生成的。
您首先需要单击span.select2-arrow
。 然后出现搜索过滤器,您应该能够将文本发送到input.select2-input
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.