WebElementBuilder

public final class WebElementBuilder implements Interceptable<Web.WebInteraction<?>, WebAssertion<?>, Atom<?>>

Class for building WebView element matchers

Parameters

web

WebInteraction where elements should be matched

Constructors

Types

Link copied to clipboard
public final class KWebInteraction implements WebActions, WebAssertions

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
public Unit intercept(Function1<Interceptor.Builder<Web.WebInteraction<?>, WebAssertion<?>, Atom<?>>, Unit> builder)

Sets the interceptors for the instance. Interceptors will be invoked on the interaction with the KView.

Link copied to clipboard
public Unit reset()

Removes the interceptors from the instance.

Link copied to clipboard
public final Unit withElement(Locator locator, String value, Function1<WebElementBuilder.KWebInteraction, Unit> interaction)

Looks up web view element and performs actions/assertions on it