Package 

Class FlakySafeWebBehaviorInterceptor

    • Method Summary

      Modifier and Type Method Description
      <T extends Any> T intercept(Web.WebInteraction<?> interaction, Function0<T> action) Wraps the given action invocation with the flaky safety.
      • Methods inherited from class com.kaspersky.kaspresso.interceptors.behavior.BehaviorInterceptor

        equals, hashCode, toString
      • Methods inherited from class com.kaspersky.kaspresso.interceptors.behavior.impl.flakysafety.FlakySafeWebBehaviorInterceptor

        flakySafely, flakySafely
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • intercept

         <T extends Any> T intercept(Web.WebInteraction<?> interaction, Function0<T> action)

        Wraps the given action invocation with the flaky safety.

        Parameters:
        interaction - the intercepted Web.WebInteraction.
        action - the action to invoke.