-
- All Implemented Interfaces:
-
com.kaspersky.kaspresso.autoscroll.AutoScrollProvider,com.kaspersky.kaspresso.interceptors.behavior.BehaviorInterceptor,com.kaspersky.kaspresso.interceptors.behavior.ViewBehaviorInterceptor
public final class AutoScrollViewBehaviorInterceptor implements ViewBehaviorInterceptor, AutoScrollProvider<ViewInteraction>
The implementation of ViewBehaviorInterceptor and AutoScrollProvider interfaces. Provides autoscroll on failure functionality for ViewInteraction.perform and ViewInteraction.check calls.
-
-
Constructor Summary
Constructors Constructor Description AutoScrollViewBehaviorInterceptor(AutoScrollParams params, UiTestLogger logger)
-
Method Summary
Modifier and Type Method Description <T extends Any> Tintercept(ViewInteraction 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.AutoScrollViewBehaviorInterceptor
scroll, withAutoScroll -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AutoScrollViewBehaviorInterceptor
AutoScrollViewBehaviorInterceptor(AutoScrollParams params, UiTestLogger logger)
-
-
-
-