Package 

Class LoggingWebAssertionWatcherInterceptor

    • Method Summary

      Modifier and Type Method Description
      Unit intercept(WebAssertionProxy<?> webAssertionProxy, WebView view, Object result) Writes info to compositeLogger.
      • Methods inherited from class com.kaspersky.kaspresso.interceptors.watcher.view.WebAssertionWatcherInterceptor

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

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

      • LoggingWebAssertionWatcherInterceptor

        LoggingWebAssertionWatcherInterceptor(UiTestLogger logger)
    • Method Detail

      • intercept

         Unit intercept(WebAssertionProxy<?> webAssertionProxy, WebView view, Object result)

        Writes info to compositeLogger.

        Parameters:
        webAssertionProxy - a proxy-wrapper of androidx.test.espresso.web.assertion.WebAssertion for interceptors calls.
        view - an Android android.view.View, on which androidx.test.espresso.web.assertion.WebAssertion is performed.
        result - a result of androidx.test.espresso.web.assertion.WebAssertion.