标签: java selenium pageloadtimeout
我不知道该如何设置
if(page is loading > n seconds){ new Actions(driver).sendKeys(Keys.ESCAPE).perform; And to don't break a program, after this action }
是否可以从ChromeOptions类中获取? 还是使用timeouts.pageLoadTimeout()? 还是JavaScript?