Example usage for org.openqa.selenium.support.ui ExpectedCondition interface-usage

List of usage examples for org.openqa.selenium.support.ui ExpectedCondition interface-usage

Introduction

In this page you can find the example usage for org.openqa.selenium.support.ui ExpectedCondition interface-usage.

Usage

From source file co.flexmod.selenium.example.integration.framework.AjaxWait.java

/**
 *
 * @author Chris Caspanello <ccaspanello@gmail.com>
 */
public class AjaxWait implements ExpectedCondition<Object> {
    private static final String JS_JQUERY_DEFINED = "return typeof jQuery != 'undefined';";

From source file com.cognifide.aet.sanity.functional.po.LoadedCondition.java

class LoadedCondition implements ExpectedCondition<Integer> {

    private final By selector;

    private int alreadyLoaded = 0;

From source file com.github.ccaspanello.selenium.example.integration.framework.AjaxWait.java

/**
 * AJAX Wait
 *
 * This is a way to tell Selenium to wait for jQuery or PrimeFaces AJAX calls to complete before moving to the next
 * step in the test.
 *

From source file com.liferay.faces.test.selenium.expectedconditions.ElementEnabled.java

/**
 * @author  Kyle Stiemann
 */
public class ElementEnabled implements ExpectedCondition<WebElement> {

    // Private Data Members

From source file com.liferay.faces.test.selenium.expectedconditions.WindowOpened.java

/**
 * @author  Kyle Stiemann
 */
public class WindowOpened implements ExpectedCondition<Boolean> {

    // Private Data Members

From source file io.appium.java_client.functions.ExpectedCondition.java

/**
 * This is extended version of {@link org.openqa.selenium.support.ui.ExpectedCondition}. It is combined
 * with {@link java.util.function.Function}.
 *
 * @param <T> The return type
 */

From source file jhc.redsniff.webdriver.DelayingExpectedCondition.java

public interface DelayingExpectedCondition<T> extends ExpectedCondition<T> {

    public Duration initialDelay();//so we don't check if busy before it's started..

}

From source file jhc.redsniff.webdriver.DescribingExpectedCondition.java

public class DescribingExpectedCondition<T, E, Q extends TypedQuantity<E, T>> implements ExpectedCondition<T> {
    private final FindingExpectation<E, Q, SearchContext> expectation;
    private final StringHolder errorHolder;

    DescribingExpectedCondition(FindingExpectation<E, Q, SearchContext> expectation, StringHolder errorHolder) {
        this.expectation = expectation;

From source file org.aludratest.service.gui.web.selenium.selenium2.condition.AbstractAjaxIdleCondition.java

public abstract class AbstractAjaxIdleCondition implements ExpectedCondition<Boolean> {

    protected abstract String getBooleanAjaxIdleScript();

    @Override
    public Boolean apply(WebDriver input) {

From source file org.aludratest.service.gui.web.selenium.selenium2.condition.AbstractElementCondition.java

/** Parent class for {@link ExpectedCondition} implementations that rely on the presence of a {@link WebElement}. If one of the
 * internal checks fails, the failure message is reported in the {@link #message} property.
 * @param <E> the result type of the {@link ExpectedCondition}
 * @author Volker Bergmann */
public abstract class AbstractElementCondition<E> implements ExpectedCondition<E> {