Package 

Interface WebAssertionWatcherInterceptor

    • Method Summary

      Modifier and Type Method Description
      abstract Unit intercept(WebAssertionProxy<?> webAssertionProxy, WebView view, Object result) Called to do some stuff before androidx.test.espresso.web.assertion.WebAssertion.checkResult is actually called.
      • 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
    • Method Detail

      • intercept

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

        Called to do some stuff before androidx.test.espresso.web.assertion.WebAssertion.checkResult is actually called.

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