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

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

Introduction

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

Usage

From source file com.dukescript.impl.selenium.DukeScriptBrowser.java

/**
 * Implementation class, not of general interest.
 * 
 * @author antonepple
 */
public final class DukeScriptBrowser implements SearchContext, FindsById, FindsByXPath, FindsByCssSelector,

From source file com.galenframework.ide.tests.integration.components.galenpages.GalenComponent.java

public abstract class GalenComponent<T extends GalenComponent> implements SearchContext {
    private final WebDriver driver;
    private final String name;
    private final SearchContext searchContext;

    public GalenComponent(WebDriver driver, String name, SearchContext searchContext) {

From source file com.google.android.testing.nativedriver.server.AndroidNativeElement.java

/**
 * Superclass of all {@code WebElement} implementations in the Android
 * NativeDriver. This class provides the following functionality:
 * <ul>
 *   <li>Behavior for each {@code WebElement} operation that is appropriate for
 *   an element that does not support the operation. For instance, calling

From source file com.lohika.alp.flexpilot.FlexElement.java

public interface FlexElement extends SearchContext {

    void click();

    void sendKeys(CharSequence... keysToSend);

From source file com.mengge.pagefactory.Widget.java

/**
 * It is the Appium-specific extension of the Page Object design pattern. It allows user
 * to create objects which typify some element with nested sub-elements. Also it allows to
 * describe and encapsulate logic of interaction/behavior within.
 * About the Page Object design pattern please read these documents:
 * - https://code.google.com/p/selenium/wiki/PageObjects

From source file com.mgmtp.jfunk.web.util.WebDriverTool.java

/**
 * <p>
 * Utility class for enhancing {@link WebDriver} functionality. Uses {@link WebElementFinder} and
 * {@link FormInputHandler} internally and thus can handle timeouts implicitly.
 * </p>
 * <p>

From source file com.ponysdk.driver.PonySearchContext.java

class PonySearchContext
        implements FindsById, FindsByName, FindsByClassName, FindsByCssSelector, FindsByTagName, SearchContext {

    private static final ThreadLocal<MultipleElementsConsumer> multipleElementsConsumers = ThreadLocal
            .withInitial(MultipleElementsConsumer::new);
    private static final ThreadLocal<SingleElementConsumer> singleElementConsumers = ThreadLocal

From source file de.dentrassi.pm.testing.WebContext.java

public interface WebContext extends SearchContext {
    public WebDriver getDriver();

    public String resolve(String url);

    public File getTestFile(String localFileName);

From source file io.appium.java_client.pagefactory.Widget.java

/**
 * It is the Appium-specific extension of the Page Object design pattern. It allows user
 * to create objects which typify some element with nested sub-elements. Also it allows to
 * describe and encapsulate logic of interaction/behavior within.
 * About the Page Object design pattern please read these documents:
 * - https://code.google.com/p/selenium/wiki/PageObjects

From source file main.java.qa.android.events.CustomWebDriver.java

/**
 * The main interface to use for testing, which represents an idealised web browser. The methods in
 * this class fall into three categories:
 * <p>
 * <ul>
 * <li>Control of the browser itself</li>