Skip to main content

Function: interactorWaitUtil()

interactorWaitUtil(locator, interactor, option): Promise<void>

Defined in: packages/core/src/utils/interactorUtil.ts:12

Wait until the element reaches the desired condition. By default, it waits until the element is attached to the DOM.

Parameters

locator

PartLocator

The locator of the element to wait for

interactor

Interactor

The interactor to use to wait for the element

option

Partial<Readonly<WaitForOption>> = defaultWaitForOption

Optional parameters to customize the wait behavior

Returns

Promise<void>