List of usage examples for org.openqa.selenium.support.ui ExpectedConditions visibilityOf
public static ExpectedCondition<WebElement> visibilityOf(final WebElement element)
From source file:org.eclipse.che.selenium.pageobject.git.GitMerge.java
License:Open Source License
public void waitMergeExpandRemoteBranchIcon() { new WebDriverWait(seleniumWebDriver, 7).until(ExpectedConditions.visibilityOf(expandRemoteBranches)); }
From source file:org.eclipse.che.selenium.pageobject.git.GitMerge.java
License:Open Source License
public void waitMergeExpandLocalBranchIcon() { new WebDriverWait(seleniumWebDriver, 7).until(ExpectedConditions.visibilityOf(expandLocalBranches)); }
From source file:org.eclipse.che.selenium.pageobject.git.GitPull.java
License:Open Source License
public void waitFormToOpen() { new WebDriverWait(seleniumWebDriver, 7).until(ExpectedConditions.visibilityOf(form)); }
From source file:org.eclipse.che.selenium.pageobject.git.GitReference.java
License:Open Source License
/** wait opening of the reference widget */ public void waitOpeningMainForm() { new WebDriverWait(seleniumWebDriver, REDRAW_UI_ELEMENTS_TIMEOUT_SEC) .until(ExpectedConditions.visibilityOf(mainForm)); }
From source file:org.eclipse.che.selenium.pageobject.git.GitReference.java
License:Open Source License
/** wait type the value into reference field */ public void typeReference(String reference) { new WebDriverWait(seleniumWebDriver, REDRAW_UI_ELEMENTS_TIMEOUT_SEC) .until(ExpectedConditions.visibilityOf(field)).clear(); field.sendKeys(reference);//from www.j av a 2s .c o m }
From source file:org.eclipse.che.selenium.pageobject.git.GitReference.java
License:Open Source License
/** click on checkout button */ public void clickOnCheckoutBtn() { new WebDriverWait(seleniumWebDriver, REDRAW_UI_ELEMENTS_TIMEOUT_SEC) .until(ExpectedConditions.visibilityOf(checkOutBtn)).click(); }
From source file:org.eclipse.che.selenium.pageobject.git.GitReference.java
License:Open Source License
/** click on cancel button */ public void clickOnCancelBtn() { new WebDriverWait(seleniumWebDriver, REDRAW_UI_ELEMENTS_TIMEOUT_SEC) .until(ExpectedConditions.visibilityOf(cancelBtn)).click(); }
From source file:org.eclipse.che.selenium.pageobject.GitHub.java
License:Open Source License
/** * type login to login field/*from w ww . j a va 2 s .co m*/ * * @param login */ public void typeLogin(String login) { new WebDriverWait(seleniumWebDriver, 10).until(ExpectedConditions.visibilityOf(loginField)); loginField.sendKeys(login); }
From source file:org.eclipse.che.selenium.pageobject.GitHub.java
License:Open Source License
/** * wait for appearing appereance supo password form after click on autorize button form if we have * not ssh key on github//from w w w. j ava 2s. c o m */ public void waitSudoPassForm() { new WebDriverWait(seleniumWebDriver, 10).until(ExpectedConditions.visibilityOf(sudoPassForm)); }
From source file:org.eclipse.che.selenium.pageobject.GitHub.java
License:Open Source License
/** wait for authorize button. */ public void waitAuthorizeBtn() { new WebDriverWait(seleniumWebDriver, 30).until(ExpectedConditions.visibilityOf(authorizeBtn)); }