io.appium.java_client.pagefactory
Class AppiumFieldDecorator
java.lang.Object
io.appium.java_client.pagefactory.AppiumFieldDecorator
- All Implemented Interfaces:
- org.openqa.selenium.support.pagefactory.FieldDecorator
public class AppiumFieldDecorator
- extends Object
- implements org.openqa.selenium.support.pagefactory.FieldDecorator
Default decorator for use with PageFactory. Will decorate 1) all of the
WebElement fields and 2) List fields that have
@AndroidFindBy, @AndroidFindBys, or
@iOSFindBy/@iOSFindBys annotation with a proxy that locates the
elements using the passed in ElementLocatorFactory.
Please pay attention: fields of WebElement, RemoteWebElement and
MobileElement are allowed to use with this decorator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppiumFieldDecorator
public AppiumFieldDecorator(org.openqa.selenium.SearchContext context,
long implicitlyWaitTimeOut,
TimeUnit timeUnit)
AppiumFieldDecorator
public AppiumFieldDecorator(org.openqa.selenium.SearchContext context)
decorate
public Object decorate(ClassLoader ignored,
Field field)
- Specified by:
decorate in interface org.openqa.selenium.support.pagefactory.FieldDecorator
resetImplicitlyWaitTimeOut
public void resetImplicitlyWaitTimeOut(long timeOut,
TimeUnit timeUnit)
Copyright © 2014. All rights reserved.