【发布时间】:2018-08-28 02:50:54
【问题描述】:
下面的代码不起作用,它总是在第 2 行抛出 No such element 异常。
wait.IgnoreExceptionTypes(typeof(NoSuchElementException));
wait.Until(ExpectedConditions.ElementToBeClickable(By.XPath(element)));
【问题讨论】:
-
什么是元素?