public WebElement webElementVisible(final By by) {
return wait.until(ExpectedConditions.visibilityOfElementLocated(by));
}
Author: puddupakkam
webElement
public WebElement webElement(final By by) {
return wait.until(ExpectedConditions.presenceOfElementLocated(by));
}
clickableElement
public WebElement clickableElement(final By by) {
return wait.until(ExpectedConditions.elementToBeClickable(by));
}