public interface Action
Modifier and Type | Method and Description |
---|---|
long |
getTimeoutMillis()
Gets the timeout to wait for an indicator that the action has been carried
out.
|
boolean |
perform(UiElement element)
Performs the action.
|
java.lang.String |
toString() |
boolean perform(UiElement element)
element
- the Ui element to perform the action onlong getTimeoutMillis()
java.lang.String toString()
It is recommended that this method return the description of the action, for example, "SwipeAction{DOWN}".
toString
in class java.lang.Object