Solutionunvalidated

WebDriverWait wait = new WebDriverWait(driver, Duration.ofSeconds(10)); — With a `WebDriverWait`, the full code would be. Outcome: wait.until(ExpectedConditions.elementToBeClickable(By.cssSelector("button[aria-label^='Done.']"))).click();.

57e7336a-7144-45ff-bf17-e56d6225cd67

WebDriverWait wait = new WebDriverWait(driver, Duration.ofSeconds(10)); — With a WebDriverWait, the full code would be. Outcome: wait.until(ExpectedConditions.elementToBeClickable(By.cssSelector("button[aria-label^='Done.']"))).click();.