Package 

Interface BehaviorInterceptor


  • 
    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> T intercept(Interaction interaction, Function0<T> action) Called to do some stuff and actually perform an interaction with element.
      • Methods inherited from class com.kaspersky.kaspresso.interceptors.behavior.BehaviorInterceptor

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.