SyntaxFix
Write A Post
Hire A Developer
Questions
WebDriverWait wait = new WebDriverWait(driver,5) wait.until(ExpectedConditions.visibilityOf(element));
you can use this as some time before loading whole page code gets executed and throws and error. time is in second