小编Par*_*ngh的帖子

在Selenium中避免NoSuchElementException的最佳方法是什么?

我在Selenium WebDriver中使用Java编写了一些测试用例,并在网格(集线器和多个节点)上执行它们.我注意到一些测试用例由于失败而失败NoSuchElementException.什么是最好和最有效的方法来避免NoSuchElementException和确保始终找到元素?

java selenium-grid selenium-webdriver nosuchelementexception

21
推荐指数
2
解决办法
6万
查看次数