WebInteractionDelegate

public final class WebInteractionDelegate implements Delegate<Web.WebInteraction<?>, WebAssertion<?>, Atom<?>>

Delegation class for Web.WebInteraction. Wraps all available public calls and intercepts check and perform.

See also

Constructors

Link copied to clipboard
public WebInteractionDelegate WebInteractionDelegate(Web.WebInteraction<?> interaction)

Properties

Link copied to clipboard
private Web.WebInteraction<?> interaction
Link copied to clipboard
private Interceptor<Web.WebInteraction<?>, WebAssertion<?>, Atom<?>> interceptor

Functions

Link copied to clipboard
public final WebInteractionDelegate check(WebAssertion<?> assertion)
Link copied to clipboard
Link copied to clipboard
public final Object get()
Link copied to clipboard
public Web.WebInteraction<?> getInteraction()
Link copied to clipboard
public Interceptor<Web.WebInteraction<?>, WebAssertion<?>, Atom<?>> getInterceptor()
Link copied to clipboard
public Boolean interceptCheck(WebAssertion<?> assertion)

Runs the interceptors available for the given delegate during the check operation.

Link copied to clipboard
public Boolean interceptPerform(Atom<?> action)

Runs the interceptors available for the given delegate during the perform operation.

Link copied to clipboard
public final WebInteractionDelegate inWindow(Atom<WindowReference> windowPicker)
public final WebInteractionDelegate inWindow(WindowReference window)
Link copied to clipboard
public Interceptor<Web.WebInteraction<?>, WebAssertion<?>, Atom<?>> kakaoInterceptor()
Link copied to clipboard
public final WebInteractionDelegate perform(Atom<?> atom)
Link copied to clipboard
Link copied to clipboard
public Deque<Interceptor<Web.WebInteraction<?>, WebAssertion<?>, Atom<?>>> screenInterceptors()
Link copied to clipboard
public Unit setInteraction(Web.WebInteraction<?> interaction)
Link copied to clipboard
public Unit setInterceptor(Interceptor<Web.WebInteraction<?>, WebAssertion<?>, Atom<?>> interceptor)
Link copied to clipboard
public final WebInteractionDelegate withContextualElement(Atom<ElementReference> elementPicker)
Link copied to clipboard
public final WebInteractionDelegate withElement(Atom<ElementReference> elementPicker)
public final WebInteractionDelegate withElement(ElementReference element)
Link copied to clipboard
Link copied to clipboard
public final WebInteractionDelegate withTimeout(Long amount, TimeUnit unit)