auto_waitForElementDisappears

public void auto_waitForElementDisappears(String elementPath, String ... elementValue) {
    By locator =  LocatorBuilder.getBy(elementPath, elementValue);
    if (auto_isElementVisibleWithoutWait(elementPath, elementValue)){
        try {
            this.auto_getFluentWait().until(ExpectedConditions.invisibilityOfElementLocated(locator));
        }catch (Exception e) {
            LOGGER.info("The element is not longer visible");
        }
    }
    LOGGER.info("The element wasn't visible");
}
What are your feelings
Scroll al inicio