-
public interface KautomatorBehaviorInterceptor<Interaction extends Object, Assertion extends Object, Action extends Object>The interface for all interceptors that change the default interaction in Kautomator. Often it wraps the interaction calls.
-
-
Method Summary
Modifier and Type Method Description abstract <T extends Any> TinterceptCheck(Interaction interaction, Assertion assertion, Function0<T> activity)Called to do some stuff and actually check an interaction with element. abstract <T extends Any> TinterceptPerform(Interaction interaction, Action action, Function0<T> activity)Called to do some stuff and actually perform an interaction with element. -
-
Method Detail
-
interceptCheck
abstract <T extends Any> T interceptCheck(Interaction interaction, Assertion assertion, Function0<T> activity)
Called to do some stuff and actually check an interaction with element.
- Parameters:
activity- a function-wrapper of an action or an assertion to be invoked.
-
interceptPerform
abstract <T extends Any> T interceptPerform(Interaction interaction, Action action, Function0<T> activity)
Called to do some stuff and actually perform an interaction with element.
- Parameters:
activity- a function-wrapper of an action or an assertion to be invoked.
-
-
-
-