public void auto_waitUntilElementDissappear(By locator) { if (this.auto_isElementPresent(locator)) { this.auto_getWait().until(ExpectedConditions.invisibilityOfElementLocated(locator)); } }