java—显示为删除线文本的方法

mqxuamgl  于 2021-07-08  发布在  Java
关注(0)|答案(1)|浏览(282)

谁能告诉我为什么 pageloadtimeout 以及 implicitlywait 在我的文档中显示为删除线文本 testbase 上课?

fcipmucu

fcipmucu1#

方法 WebDriver.Timeouts pageLoadTimeout​(long time, java.util.concurrent.TimeUnit unit) 已弃用。
使用 pageLoadTimeout(Duration) 设置在抛出错误之前等待页面加载完成的时间量。
请参见:https://www.selenium.dev/selenium/docs/api/java/org/openqa/selenium/webdriver.timeouts.html

相关问题