Example usage for org.openqa.selenium.support.pagefactory DefaultFieldDecorator subclass-usage

List of usage examples for org.openqa.selenium.support.pagefactory DefaultFieldDecorator subclass-usage

Introduction

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

Usage

From source file com.cognifide.qa.bb.mapper.GuiceAwareFieldDecorator.java

/**
 * This class extends Selenium's default field decorator so that Selenium will initalize all
 * fields except the
 * ones annotated with Inject. This class should not be used by Bobcat's users.
 */
public class GuiceAwareFieldDecorator extends DefaultFieldDecorator {

From source file com.github.wiselenium.factory.decorator.ElementDecoratorChainTemplate.java

/**
 * Element decorator template.
 * 
 * @author Andre Ricardo Schaffer
 * @since 0.3.0
 */

From source file com.hotwire.selenium.desktop.row.FieldWrapper.java

public final class FieldWrapper extends DefaultFieldDecorator {

    public FieldWrapper(final SearchContext searchContext) {
        super(new DefaultElementLocatorFactory(searchContext));
    }

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

public class LogDescriptionDefaultFieldDecorator extends DefaultFieldDecorator {

    public LogDescriptionDefaultFieldDecorator(ElementLocatorFactory factory) {
        super(factory);
    }

From source file org.alfresco.po.WebDriverAwareDecorator.java

/**
 * Decorator that is a copy of Yandex's HtmlElementDecorator with some minor changes,
 * this is to allow access to WebDriver from {@link PageElement}.
 * @author Michael Suzuki
 *
 */

From source file org.jboss.test.selenium.pagefactory.StaleReferenceAwareFieldDecorator.java

/**
 * Decorates {@link WebElement} to try to avoid throwing {@link StaleElementReferenceException}. When the exception is
 * thrown, the mechanism tries to locate element again.
 *
 * @author <a href="mailto:jpapouse@redhat.com">Jan Papousek</a>
 *

From source file org.jboss.test.selenium.support.pagefactory.StaleReferenceAwareFieldDecorator.java

/**
 * Decorates {@link org.openqa.selenium.WebElement} to try to avoid throwing
 * {@link org.openqa.selenium.StaleElementReferenceException}. When the
 * exception is thrown, the mechanism tries to locate element again.
 *
 * Also decorates List of WebElements.

From source file org.jboss.test.selenium.webdriver.pagefactory.StaleReferenceAwareFieldDecorator.java

/**
 * Decorates {@link org.openqa.selenium.WebElement} to try to avoid throwing
 * {@link org.openqa.selenium.StaleElementReferenceException}. When the exception is thrown, the mechanism tries to
 * locate element again.
 *
 * @author <a href="mailto:jpapouse@redhat.com">Jan Papousek</a>

From source file ui.auto.core.pagecomponent.ComponentFieldDecorator.java

public class ComponentFieldDecorator extends DefaultFieldDecorator {
    PageObject page;

    public ComponentFieldDecorator(ElementLocatorFactory factory, PageObject page) {
        super(factory);
        this.page = page;

From source file uk.co.optimisticpanda.utils.ReportingFieldDecorator.java

/**
 * A reporting decorator for use with PageFactory. Will decorate 1) all of the
 * WebElement fields and 2) List<WebElement> fields that have @FindBy or
 * 
 * @FindBys annotation with a proxy that locates the elements using the passed
 *          in ElementLocatorFactory.