Example usage for org.openqa.selenium WebDriver interface-usage

List of usage examples for org.openqa.selenium WebDriver interface-usage

Introduction

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

Usage

From source file org.wso2.es.ui.integration.extension.util.ESWebDriver.java

public class ESWebDriver implements org.openqa.selenium.WebDriver {
    // private org.openqa.selenium.WebDriver driver;
    protected static final Logger log = Logger.getLogger(ESWebDriver.class);
    private int maxWaitTime;
    private EventFiringWebDriver driver;

From source file org.wso2.es.ui.integration.util.ESWebDriver.java

/**
 * This class wraps the WebDriver given by the framework to achieve following concerns
 * - Slow down the web driver by overriding findElementBy method
 * - Introduce findElementByPoll to refresh page until an element if present for a given number
 * of times
 * This class uses decorator pattern.

From source file org.xframium.device.factory.DeviceWebDriver.java

/**
 * The Class DeviceWebDriver.
 */
public class DeviceWebDriver implements HasCapabilities, WebDriver, JavascriptExecutor, ContextAware, ExecuteMethod,
        ArtifactProducer, NativeDriverProvider, PropertyProvider, TakesScreenshot, DeviceProvider, HasInputDevices,
        CachingDriver, ReportiumProvider {

From source file org.xwiki.test.ui.XWikiWrappingDriver.java

/**
 * Wraps an existing {@link WebDriver} to generate more debugging information:
 * <ul>
 * <li>takes screenshots on test failures</li>
 * <li>shows page source</li>
 * </ul>

From source file ru.stqa.selenium.decorated.DecoratedWebDriver.java

/**
 * This class allows to extend WebDriver by adding new functionality to a decorated.
 * Example of use:
 * <code>WebDriver driver = DecoratedWebDriver.decorate(originalDriver, MyWebDriverWrapper.class);</code>
 * or
 * <code>MyWebDriverWrapper decorated = new MyWebDriverWrapper(originalDriver, otherParameter);<br>

From source file ru.stqa.selenium.factory.FakeAlertiveWebDriver.java

public class FakeAlertiveWebDriver implements WebDriver {

    private Capabilities capabilities;
    private boolean isActive = true;

    public FakeAlertiveWebDriver(Capabilities capabilities) {

From source file ru.stqa.selenium.factory.FakeWebDriver.java

public class FakeWebDriver implements WebDriver {

    private Capabilities capabilities;
    private boolean isActive = true;

    public FakeWebDriver(Capabilities capabilities) {

From source file ru.stqa.selenium.wrapper.WebDriverWrapper.java

/**
 * This class allows to extend WebDriver by adding new functionality to a wrapper.
 * Example of use:
 * <code>WebDriver driver = WebDriverWrapper.wrapDriver(originalDriver, MyWebDriverWrapper.class);</code>
 * or
 * <code>MyWebDriverWrapper wrapper = new MyWebDriverWrapper(originalDriver, otherParameter);<br>

From source file sandeep.kb.android.remote.android.AndroidWebDriver.java

public class AndroidWebDriver implements WebDriver, SearchContext, JavascriptExecutor, TakesScreenshot,
        HasTouchScreen, WebStorage, ApplicationCache {

    private static final String ELEMENT_KEY = "ELEMENT";
    private static final String WINDOW_KEY = "WINDOW";
    private static final String STATUS = "status";

From source file scratch.maven.react.pages.JavaScriptWebDriver.java

interface JavaScriptWebDriver extends WebDriver, JavascriptExecutor {
}