Example usage for org.openqa.selenium.support.pagefactory ElementLocatorFactory interface-usage

List of usage examples for org.openqa.selenium.support.pagefactory ElementLocatorFactory interface-usage

Introduction

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

Usage

From source file com.arcbees.test.ElementLocatorFactory.java

public class ElementLocatorFactory implements org.openqa.selenium.support.pagefactory.ElementLocatorFactory {
    private final WebDriver driver;

    @Inject
    public ElementLocatorFactory(WebDriver driver) {
        this.driver = driver;

From source file com.cognifide.qa.bb.scope.nested.ScopedElementLocatorFactory.java

/**
 * Locator factory that produces locators within parent scope, or in global scope,
 * if the Global annotation is present.
 */
public class ScopedElementLocatorFactory implements ElementLocatorFactory, ParentElementLocatorProvider {

From source file com.cognifide.qa.bb.scope.nestedselector.NestedSelectorScopedLocatorFactory.java

/**
 * Locator factory that scopes given searchContext using a {@link By} selector. Reduces search scope
 * by using parent scope
 */
public class NestedSelectorScopedLocatorFactory implements ElementLocatorFactory, ParentElementLocatorProvider {

From source file com.cognifide.qa.bb.scope.selector.SelectorScopedLocatorFactory.java

/**
 * Locator factory that scopes given searchContext using a {@link By} selector.
 */
public class SelectorScopedLocatorFactory implements ElementLocatorFactory, ParentElementLocatorProvider {

    private final SearchContext searchContext;

From source file com.cognifide.qa.bb.scope.webelement.WebElementScopedLocatorFactory.java

/**
 * Locator factory where the scope is defined by the provided webElement.
 */
public class WebElementScopedLocatorFactory implements ElementLocatorFactory, ParentElementLocatorProvider {

    private final WebDriver webDriver;

From source file com.github.licanhua.test.framework.base.CustomElementLocatorFactory.java

/**
 * @author Canhua Li
 */
public class CustomElementLocatorFactory implements ElementLocatorFactory {
    private static Logger logger = Logger.getLogger(CustomElementLocatorFactory.class.getName());

From source file com.gwtplatform.carstore.cucumber.util.CarStoreElementLocatorFactory.java

public class CarStoreElementLocatorFactory implements ElementLocatorFactory {
    private final WebDriver driver;

    @Inject
    public CarStoreElementLocatorFactory(WebDriver driver) {
        this.driver = driver;

From source file com.lohika.alp.selenium.log.LogDescriptionElementLocatorFactory.java

public class LogDescriptionElementLocatorFactory implements ElementLocatorFactory {

    private final ElementLocatorFactory factory;

    public LogDescriptionElementLocatorFactory(ElementLocatorFactory factory) {
        this.factory = factory;

From source file com.mengge.pagefactory.locator.CacheableElementLocatorFactory.java

public interface CacheableElementLocatorFactory extends ElementLocatorFactory {

    public CacheableLocator createLocator(Field field);

    public CacheableLocator createLocator(AnnotatedElement annotatedElement);
}

From source file com.oracle.pgbu.common.pagefactory.AjaxElementLocatorFactory.java

public class AjaxElementLocatorFactory implements ElementLocatorFactory {
    private final WebDriver driver;

    public AjaxElementLocatorFactory(WebDriver driver) {
        this.driver = driver;
    }