I'm very new to programming and I'm trying to insert WebDriverWait into my login test code, to improve my code's implicit timing:
WebDriverWait wait = new WebDriverWait(browser, 60);
WebElement element = wait.until(ExpectedConditions.elementToBeClickable(By.id("someid")));
After running the test, the following message appears in the terminal:
48:59
java: incompatible types: int cannot be converted to java.time.Duration
What should I do to be able to run my test, after the message above?