Web Element Builder
public final class WebElementBuilder implements Interceptable<Web.WebInteraction<?>, WebAssertion<?>, Atom<?>>
Class for building WebView element matchers
Parameters
web
WebInteraction where elements should be matched
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 final Unit withElement(Locator locator, String value, Function1<WebElementBuilder.KWebInteraction, Unit> interaction)
Looks up web view element and performs actions/assertions on it