Example usage for org.openqa.selenium.support.ui ExpectedConditions invisibilityOfElementLocated

List of usage examples for org.openqa.selenium.support.ui ExpectedConditions invisibilityOfElementLocated

Introduction

In this page you can find the example usage for org.openqa.selenium.support.ui ExpectedConditions invisibilityOfElementLocated.

Prototype

public static ExpectedCondition<Boolean> invisibilityOfElementLocated(final By locator) 

Source Link

Document

An expectation for checking that an element is either invisible or not present on the DOM.

Usage

From source file:org.eclipse.che.selenium.pageobject.subversion.SvnExport.java

License:Open Source License

public void waitMainFormClosed() {
    new WebDriverWait(seleniumWebDriver, LOAD_PAGE_TIMEOUT_SEC)
            .until(ExpectedConditions.invisibilityOfElementLocated(By.id(Locators.EXPORT_MAIN_FORM)));
}

From source file:org.eclipse.che.selenium.pageobject.subversion.SvnMerge.java

License:Open Source License

public void waitMainFormClosed() {
    new WebDriverWait(seleniumWebDriver, LOAD_PAGE_TIMEOUT_SEC)
            .until(ExpectedConditions.invisibilityOfElementLocated(By.id(Locators.MERGE_MAIN_FORM)));
}

From source file:org.eclipse.che.selenium.pageobject.subversion.SvnMove.java

License:Open Source License

public void waitMoveFormClose() {
    new WebDriverWait(seleniumWebDriver, LOAD_PAGE_TIMEOUT_SEC)
            .until(ExpectedConditions.invisibilityOfElementLocated(By.id(Locators.MOVE_FORM)));
}

From source file:org.eclipse.che.selenium.pageobject.subversion.SvnProperties.java

License:Open Source License

public void waitPropertyFormClosed() {
    new WebDriverWait(seleniumWebDriver, 20)
            .until(ExpectedConditions.invisibilityOfElementLocated(By.id(Locators.PROPERTIES_FORM)));
}

From source file:org.eclipse.che.selenium.pageobject.subversion.SvnResolve.java

License:Open Source License

public void waitResolveFormClosed() {
    new WebDriverWait(seleniumWebDriver, LOAD_PAGE_TIMEOUT_SEC)
            .until(ExpectedConditions.invisibilityOfElementLocated(By.xpath(Locators.RESOLVE_FORM)));
}

From source file:org.eclipse.che.selenium.pageobject.subversion.SvnRevert.java

License:Open Source License

public void waitRevertFormClosed() {
    new WebDriverWait(seleniumWebDriver, LOAD_PAGE_TIMEOUT_SEC)
            .until(ExpectedConditions.invisibilityOfElementLocated(By.xpath(Locators.REVERT_FORM)));
}

From source file:org.eclipse.che.selenium.pageobject.subversion.SvnUpdateToRevision.java

License:Open Source License

public void waitMainFormIsClosed() {
    new WebDriverWait(seleniumWebDriver, LOAD_PAGE_TIMEOUT_SEC)
            .until(ExpectedConditions.invisibilityOfElementLocated(By.id(Locators.UPDATE_TO_REVISION_FORM)));
}

From source file:org.eclipse.che.selenium.pageobject.subversion.SvnViewLog.java

License:Open Source License

public void waitSvnLogFormClosed() {
    new WebDriverWait(seleniumWebDriver, ELEMENT_TIMEOUT_SEC)
            .until(ExpectedConditions.invisibilityOfElementLocated(By.xpath(Locators.VIEW_LOG_FORM)));
}

From source file:org.eclipse.che.selenium.pageobject.Swagger.java

License:Open Source License

/** collapse 'workspace' item */
private void collapseWorkSpaceItem() {
    new WebDriverWait(seleniumWebDriver, LOAD_PAGE_TIMEOUT_SEC)
            .until(ExpectedConditions.elementToBeClickable(workSpaceLink)).click();
    new WebDriverWait(seleniumWebDriver, LOAD_PAGE_TIMEOUT_SEC)
            .until(ExpectedConditions.invisibilityOfElementLocated(By.id("workspace_endpoint_list")));
}

From source file:org.eclipse.che.selenium.pageobject.UploadFile.java

License:Open Source License

public void waitUploadFormClosed() {
    new WebDriverWait(seleniumWebDriver, 5)
            .until(ExpectedConditions.invisibilityOfElementLocated(By.xpath(Locators.FILE_UPLOAD_FORM)));
}