Package 

Class AutoScrollWebBehaviorInterceptor

    • 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 autoscrolling on failure.
      • Methods inherited from class com.kaspersky.kaspresso.interceptors.behavior.BehaviorInterceptor

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

        scroll, withAutoScroll
      • 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 autoscrolling on failure.

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