-
public interface BehaviorInterceptor<Interaction extends Object>The interface for all interceptors that change the default interaction in Kakao=>Espresso. Often it wraps the interaction calls.
-
-
Method Summary
Modifier and Type Method Description abstract <T extends Any> Tintercept(Interaction interaction, Function0<T> action)Called to do some stuff and actually perform an interaction with element. -
-
Method Detail
-
intercept
abstract <T extends Any> T intercept(Interaction interaction, Function0<T> action)
Called to do some stuff and actually perform an interaction with element.
- Parameters:
action- a function-wrapper of an action or an assertion to be invoked.
-
-
-
-