public class AppiumFieldDecorator
extends java.lang.Object
implements org.openqa.selenium.support.pagefactory.FieldDecorator
WebElement, RemoteWebElement,
MobileElement, AndroidElement and IOSElement are allowed
to use with this decorator| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_IMPLICITLY_WAIT_TIMEOUT |
static java.util.concurrent.TimeUnit |
DEFAULT_TIMEUNIT |
| Constructor and Description |
|---|
AppiumFieldDecorator(SearchContext context) |
AppiumFieldDecorator(SearchContext context,
long implicitlyWaitTimeOut,
java.util.concurrent.TimeUnit timeUnit) |
AppiumFieldDecorator(SearchContext context,
TimeOutDuration timeOutDuration) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
decorate(java.lang.ClassLoader ignored,
java.lang.reflect.Field field) |
public static long DEFAULT_IMPLICITLY_WAIT_TIMEOUT
public static java.util.concurrent.TimeUnit DEFAULT_TIMEUNIT
public AppiumFieldDecorator(SearchContext context, long implicitlyWaitTimeOut, java.util.concurrent.TimeUnit timeUnit)
public AppiumFieldDecorator(SearchContext context, TimeOutDuration timeOutDuration)
context - is an instance of SearchContext
It may be the instance of WebDriver
or WebElement or
Widget or some other user's
extension/implementation.timeOutDuration - is a desired duration of the waiting for an element presence.public AppiumFieldDecorator(SearchContext context)
public java.lang.Object decorate(java.lang.ClassLoader ignored,
java.lang.reflect.Field field)
decorate in interface org.openqa.selenium.support.pagefactory.FieldDecoratorignored - class loader is ignored by current implementationfield - is Field of page object which is supposed to be
decorated.