kakao / com.agoda.kakao.delegate / WebInteractionDelegate
class WebInteractionDelegate :
Delegate
<WebInteraction<*>, WebAssertion<*>, Atom<*>>
Delegation class for Web.WebInteraction. Wraps all available public calls and intercepts check and perform.
See Also
Name | Summary |
---|---|
<init> | WebInteractionDelegate(interaction: WebInteraction<*>) Delegation class for Web.WebInteraction. Wraps all available public calls and intercepts check and perform. |
Name | Summary |
---|---|
interaction | var interaction: WebInteraction<*> |
interceptor | var interceptor: Interceptor <WebInteraction<*>, WebAssertion<*>, Atom<*>>? |
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 |
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. |