KWebInteraction

public final class KWebInteraction implements WebActions, WebAssertions

Constructors

Properties

Link copied to clipboard
private final Atom<ElementReference> ref
Link copied to clipboard

Functions

Link copied to clipboard
public Unit clear()

Clears the element

Link copied to clipboard
public Unit click()

Clicks on element

Link copied to clipboard
public Unit containsText(String text)

Checks if element contains given text

Link copied to clipboard
public Atom<ElementReference> getRef()
Link copied to clipboard
Link copied to clipboard
public Unit hasText(String text)

Checks if element has given text

Link copied to clipboard
public Unit keys(String text)

Input keys with element in focus

Link copied to clipboard
public Unit matches<T extends Any>(Atom<T> value, Matcher<T> matcher)

Checks if element matches given matcher

Link copied to clipboard
public Unit scroll()

Scrolls to the element inside WebView