What is WebDriverWait?
WebDriverWait is the type of explicit wait.
There are two types of explicit wait.
1.WebDriverWait 2. Fluent Wait
WebDriverWait wait = new WebDriverWait(driver, 10); Wait.until(ExpectedConditions.elementToBeClickable());
Below following expected conditions that can be used in explicit wait.
alertIsPresent() elementSelectionStateToBe() elementToBeClickable() elementToBeSelected() frameToBeAvaliableAndSwitchToIt() invisibilityOfTheElementLocated() invisibilityOfElementWithText() presenceOfAllElementsLocatedBy() presenceOfElementLocated() textToBePresentInElement() textToBePresentInElementLocated() textToBePresentInElementValue() titleIs() titleContains() visibilityOf() visibilityOfAllElements() visibilityOfAllElementsLocatedBy() visibilityOfElementLocated()