-
public interface KautomatorWatcherInterceptor<Interaction extends Object, Assertion extends Object, Action extends Object>The interface for all interceptors that are watching the default interaction in Kautomator.
-
-
Method Summary
Modifier and Type Method Description abstract UnitinterceptCheck(Interaction interaction, Assertion assertion)Called to do some stuff before UiInteraction.check is actually called. abstract UnitinterceptPerform(Interaction interaction, Action action)Called to do some stuff before UiInteraction.perform is actually called. -
-
Method Detail
-
interceptCheck
abstract Unit interceptCheck(Interaction interaction, Assertion assertion)
Called to do some stuff before UiInteraction.check is actually called.
- Parameters:
interaction- a Kautomator UiInteraction on which assertion is performedassertion- responsible for performing an activity (assertion) on the given interaction
-
interceptPerform
abstract Unit interceptPerform(Interaction interaction, Action action)
Called to do some stuff before UiInteraction.perform is actually called.
- Parameters:
interaction- a Kautomator UiInteraction on which action is performedaction- responsible for performing an activity (action) on the given interaction
-
-
-
-