@Retention(value=RUNTIME)
@Target(value={FIELD,TYPE})
@Repeatable(value=SelendroidFindBySet.class)
public @interface SelendroidFindBy
PageFactory
this allows users to quickly and easily create PageObjects.
using Selendroid UI selectors like, id, name, class name, tag and xpath| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
className
It is a className of the target element.
|
java.lang.String |
id
It is an id of the target element.
|
java.lang.String |
linkText
It is a text of the desired element.
|
java.lang.String |
name
It is used in Selendroid mode instead of accessibility id.
|
java.lang.String |
partialLinkText
It is a part of the text of the desired element.
|
int |
priority
Priority of the searching.
|
java.lang.String |
tagName
It is a desired element tag.
|
java.lang.String |
xpath
It is a xpath to the target element.
|
public abstract java.lang.String id
public abstract java.lang.String name
public abstract java.lang.String className
public abstract java.lang.String tagName
public abstract java.lang.String xpath
public abstract java.lang.String linkText