io.appium.java_client.pagefactory
Annotation Type AndroidFindBy
@Retention(value=RUNTIME)
@Target(value={FIELD,TYPE})
public @interface AndroidFindBy
Used to mark a field on a Page Object to indicate an alternative mechanism for locating the
element or a list of elements. Used in conjunction with
PageFactory
this allows users to quickly and easily create PageObjects.
using Android UI selectors, accessibility, id, name, class name, tag and xpath
uiAutomator
public abstract String uiAutomator
- Default:
- ""
accessibility
public abstract String accessibility
- Default:
- ""
id
public abstract String id
- Default:
- ""
name
public abstract String name
- Default:
- ""
className
public abstract String className
- Default:
- ""
tagName
public abstract String tagName
- Default:
- ""
xpath
public abstract String xpath
- Default:
- ""
Copyright © 2014. All rights reserved.