|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=FIELD) public @interface ElementBy
Injects an Element into the field. Only one of the selector types should be specified.
| Optional Element Summary | |
|---|---|
String |
className
|
String |
cssSelector
|
String |
id
|
String |
linkText
|
String |
name
|
Class<? extends PageElement> |
pageElementClass
Type of the PageElement to inject. |
String |
partialLinkText
|
String |
tagName
|
TimeoutType |
timeoutType
Timeout type associated with the injected page element. |
String |
within
The name of the instance variable in the same page object class (or superclass) that is also annotated with @ElementBy and is a parent context of the page element annotated with this annotation (i.e. |
String |
xpath
|
public abstract String id
public abstract String className
public abstract String linkText
public abstract String partialLinkText
public abstract String cssSelector
public abstract String name
public abstract String xpath
public abstract String tagName
public abstract TimeoutType timeoutType
TimeoutTypepublic abstract Class<? extends PageElement> pageElementClass
@ElementBy(name="checkbox1", pageElementClass=CheckboxElement.class)
private Iterable<CheckboxElement> checkbox1;
public abstract String within
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||