#21 楼 @spikeshen
为什么我用了这段代码:
try {
TimeUnit.SECONDS.sleep(t);
} catch (InterruptedException e) {
e.printStackTrace();
}
程序运行时会报这样的错误:org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters.