public class SmartFieldDecorator extends Object implements org.openqa.selenium.support.pagefactory.FieldDecorator
| Modifier and Type | Field and Description |
|---|---|
protected org.openqa.selenium.WebDriver |
driver |
protected org.openqa.selenium.support.pagefactory.ElementLocatorFactory |
factory |
protected PageObject |
page |
| Constructor and Description |
|---|
SmartFieldDecorator(org.openqa.selenium.support.pagefactory.ElementLocatorFactory factory,
org.openqa.selenium.WebDriver driver,
PageObject pageObject) |
SmartFieldDecorator(org.openqa.selenium.support.pagefactory.ElementLocatorFactory factory,
org.openqa.selenium.WebDriver driver,
PageObject pageObject,
CustomFindByAnnotationProviderService customFindByAnnotationProviderService) |
| Modifier and Type | Method and Description |
|---|---|
Object |
decorate(ClassLoader loader,
Field field) |
protected <T> List<T> |
proxyForListLocator(ClassLoader loader,
Class<T> interfaceType,
org.openqa.selenium.support.pagefactory.ElementLocator locator) |
protected <T> T |
proxyForLocator(ClassLoader loader,
Class<T> interfaceType,
org.openqa.selenium.support.pagefactory.ElementLocator locator) |
protected org.openqa.selenium.support.pagefactory.ElementLocatorFactory factory
protected org.openqa.selenium.WebDriver driver
protected PageObject page
public SmartFieldDecorator(org.openqa.selenium.support.pagefactory.ElementLocatorFactory factory,
org.openqa.selenium.WebDriver driver,
PageObject pageObject)
public SmartFieldDecorator(org.openqa.selenium.support.pagefactory.ElementLocatorFactory factory,
org.openqa.selenium.WebDriver driver,
PageObject pageObject,
CustomFindByAnnotationProviderService customFindByAnnotationProviderService)
public Object decorate(ClassLoader loader, Field field)
decorate in interface org.openqa.selenium.support.pagefactory.FieldDecoratorprotected <T> T proxyForLocator(ClassLoader loader, Class<T> interfaceType, org.openqa.selenium.support.pagefactory.ElementLocator locator)
protected <T> List<T> proxyForListLocator(ClassLoader loader, Class<T> interfaceType, org.openqa.selenium.support.pagefactory.ElementLocator locator)
Copyright © 2021. All rights reserved.