Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

Latest commit

 

History

History
51 lines (37 loc) · 3.69 KB

File metadata and controls

51 lines (37 loc) · 3.69 KB

kakao / com.agoda.kakao.delegate / WebInteractionDelegate

WebInteractionDelegate

class WebInteractionDelegate : Delegate<WebInteraction<*>, WebAssertion<*>, Atom<*>>

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

See Also

Delegate

Interceptor

Constructors

Name Summary
<init> WebInteractionDelegate(interaction: WebInteraction<*>)
Delegation class for Web.WebInteraction. Wraps all available public calls and intercepts check and perform.

Properties

Name Summary
interaction var interaction: WebInteraction<*>
interceptor var interceptor: Interceptor<WebInteraction<*>, WebAssertion<*>, Atom<*>>?

Functions

Name Summary
check fun check(assertion: WebAssertion<*>): WebInteractionDelegate
forceJavascriptEnabled fun forceJavascriptEnabled(): WebInteractionDelegate
get fun get(): Any
inWindow fun inWindow(window: WindowReference): WebInteractionDelegate
fun inWindow(windowPicker: Atom<WindowReference>): WebInteractionDelegate
kakaoInterceptor fun kakaoInterceptor(): Interceptor<WebInteraction<*>, WebAssertion<*>, Atom<*>>?
perform fun perform(atom: Atom<*>): WebInteractionDelegate
reset fun reset(): WebInteractionDelegate
screenInterceptors fun screenInterceptors(): Deque<Interceptor<WebInteraction<*>, WebAssertion<*>, Atom<*>>>
withContextualElement fun withContextualElement(elementPicker: Atom<ElementReference>): WebInteractionDelegate
withElement fun withElement(element: ElementReference): WebInteractionDelegate
fun withElement(elementPicker: Atom<ElementReference>): WebInteractionDelegate
withNoTimeout fun withNoTimeout(): WebInteractionDelegate
withTimeout fun withTimeout(amount: Long, unit: TimeUnit): WebInteractionDelegate

Inherited Functions

Name Summary
interceptCheck open fun interceptCheck(assertion: ASSERTION): Boolean
Runs the interceptors available for the given delegate during the check operation.
interceptPerform open fun interceptPerform(action: ACTION): Boolean
Runs the interceptors available for the given delegate during the perform operation.