@Retention(value=RUNTIME)
@Target(value={FIELD,TYPE})
@Repeatable(value=AndroidFindBySet.class)
public @interface AndroidFindBy
PageFactory
this allows users to quickly and easily create PageObjects.
using Android UI selectors, accessibility, id, name, class name, tag and xpath| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
accessibility
It an UI automation accessibility Id which is a convenient to Android.
|
java.lang.String |
className
It is a className of the target element.
|
java.lang.String |
id
It is an id of the target element.
|
int |
priority
Priority of the searching.
|
java.lang.String |
tagName
It is a desired element tag.
|
java.lang.String |
uiAutomator
It is an Android UIAutomator string.
|
java.lang.String |
xpath
It is a xpath to the target element.
|
public abstract java.lang.String uiAutomator
public abstract java.lang.String accessibility
public abstract java.lang.String id
public abstract java.lang.String className
public abstract java.lang.String tagName