withElement

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

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

Parameters

locator

Locator of web view element

value

Value to be searched for in web view

interaction

Tail lambda where you can perform actions/assertions