public abstract class EventAction extends BaseAction
Action
by injecting synthesized events.Modifier | Constructor and Description |
---|---|
protected |
EventAction(long timeoutMillis) |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
perform(InputInjector injector,
UiElement element)
Performs the action by injecting synthesized events.
|
boolean |
perform(UiElement element)
Performs the action.
|
getTimeoutMillis
public final boolean perform(UiElement element)
Action
element
- the Ui element to perform the action onprotected abstract boolean perform(InputInjector injector, UiElement element)
injector
- the injector to inject InputEvent
selement
- the UiElement to perform the action on