public final class Actions
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static Operation<Editable,Control> |
clear()
Predicate which clears field content.
|
static Operation<Control,Control> |
click()
Predicate for click operation.
|
static Operation<Control,Control> |
sendKeys(java.lang.String keys)
Predicate for sending sequence of keys to specific element.
|
static <T extends Page> |
waitFor(java.lang.Class<T> pageClass)
Waits for specific page to appear.
|
public static Operation<Control,Control> click()
Operation
interface
which is applicable for Control and returns the Control.public static Operation<Control,Control> sendKeys(java.lang.String keys)
keys
- the string containing keys to enter.Operation
interface
which is applicable for Control and returns the Control.public static Operation<Editable,Control> clear()
Operation
interface
which is applicable for Control and returns the Control.public static <T extends Page> Operation<T,Control> waitFor(java.lang.Class<T> pageClass)
T
- the class of the page to wait for.pageClass
- the class of the page to wait for.