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

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

Introduction

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

Prototype

public static ExpectedCondition<WebElement> visibilityOf(final WebElement element) 

Source Link

Document

An expectation for checking that an element, known to be present on the DOM of a page, is visible.

Usage

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

License:Open Source License

public void waitMainFormOpened() {
    new WebDriverWait(seleniumWebDriver, LOAD_PAGE_TIMEOUT_SEC)
            .until(ExpectedConditions.visibilityOf(mainFormCommit));
}

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

License:Open Source License

public void waitCopyFormOpened() {
    new WebDriverWait(seleniumWebDriver, ELEMENT_TIMEOUT_SEC)
            .until(ExpectedConditions.visibilityOf(svnCopyForm));
}

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

License:Open Source License

public void waitMainFormOpened() {
    new WebDriverWait(seleniumWebDriver, LOAD_PAGE_TIMEOUT_SEC)
            .until(ExpectedConditions.visibilityOf(mainFormExport));
}

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

License:Open Source License

public void waitGetLockFormOpened() {
    new WebDriverWait(seleniumWebDriver, LOAD_PAGE_TIMEOUT_SEC)
            .until(ExpectedConditions.visibilityOf(getLockForm));
}

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

License:Open Source License

public void waitMainFormOpened() {
    new WebDriverWait(seleniumWebDriver, LOAD_PAGE_TIMEOUT_SEC)
            .until(ExpectedConditions.visibilityOf(mainFormMerge));
}

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

License:Open Source License

public void waitMoveFormOpened() {
    new WebDriverWait(seleniumWebDriver, LOAD_PAGE_TIMEOUT_SEC)
            .until(ExpectedConditions.visibilityOf(moveForm));
}

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

License:Open Source License

public void waitPropertyFormOpened() {
    new WebDriverWait(seleniumWebDriver, 20).until(ExpectedConditions.visibilityOf(propertiesForm));
}

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

License:Open Source License

public void waitReleaseLockFormOpened() {
    new WebDriverWait(seleniumWebDriver, LOAD_PAGE_TIMEOUT_SEC)
            .until(ExpectedConditions.visibilityOf(releaseLock));
}

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

License:Open Source License

public void waitResolveFormOpened() {
    new WebDriverWait(seleniumWebDriver, LOAD_PAGE_TIMEOUT_SEC)
            .until(ExpectedConditions.visibilityOf(resolveForm));
}

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

License:Open Source License

public void waitRevertFormOpened() {
    new WebDriverWait(seleniumWebDriver, LOAD_PAGE_TIMEOUT_SEC)
            .until(ExpectedConditions.visibilityOf(revertForm));
}