public abstract class ViewAction extends BaseAction
Modifier | Constructor and Description |
---|---|
protected |
ViewAction(long timeoutMillis) |
Modifier and Type | Method and Description |
---|---|
boolean |
perform(UiElement element)
Performs the action.
|
protected abstract boolean |
perform(android.view.View view,
UiElement element)
Performs the action on the associated
View . |
getTimeoutMillis
public final boolean perform(UiElement element)
Action
element
- the Ui element to perform the action onprotected abstract boolean perform(android.view.View view, UiElement element)
View
.view
- the View associated with the UiElementelement
- the UiElement to perform the action on