79089602

Date: 2024-10-15 10:59:14
Score: 2
Natty:
Report link

Use Duration.ofSeconds(30) instead of 30

new WebDriverWait(myChromeDriver, Duration.ofSeconds(30)).until((ExpectedCondition) wd -> ((JavascriptExecutor) wd).executeScript("return document.readyState").equals("complete"));

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user23976511