result; new WebDriverWait(driver, 25).until(ExpectedConditions.presenceOfAllElementsLocatedByuserName的for循环的第一行。我在这个论坛上看到,您应该使用'presenceOfElementLocated‘,并显式地等待元素返回,但这也不起作用。我在列表中使用了'presenceOfAllElementsLocatedBy<
selenium.common.exceptions.StaleElementReferenceException: Message: stale element reference: element is not attached to the page document 我附上了我正在执行此操作的网页截图
我不断地得到“没有这样的元素例外”的“名字”测试框public class southwestSignUpSave {publicTimeUnit.SECONDS); oWait.until(ExpectedConditions.presenceOfElementLocatedselectByVisibleText("Akron