Selenium中的webdriver定位元素失败的常见原因

自动化测试中经常会出现无法定位元素的情况,报selenium.common.exceptions.NoSuchElementException错误 1.动态id定位不到元素for example: //WebElement xiexin_element = driver.findElement(By
posted @ 2016-12-16 16:16  淡定的人参果  阅读(9384)  评论(0编辑  收藏  举报