Package 

Class SystemDialogSafetyViewBehaviorInterceptor

    • Method Summary

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

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

        passSystemDialogs
      • Methods inherited from class java.lang.Object

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

      • SystemDialogSafetyViewBehaviorInterceptor

        SystemDialogSafetyViewBehaviorInterceptor(UiTestLogger logger, UiDevice uiDevice, AdbServer adbServer)
    • Method Detail

      • intercept

         <T extends Any> T intercept(ViewInteraction interaction, Function0<T> action)

        Wraps the given action invocation with the system dialog safety.

        Parameters:
        interaction - the intercepted ViewInteraction.
        action - the action to invoke.