Skip to main content

Interface: WaitForOption

Defined in: packages/core/src/drivers/WaitForOption.ts:3

Properties​

condition​

condition: WaitForCondition

Defined in: packages/core/src/drivers/WaitForOption.ts:12

The condition to wait for the component to reach 'attached' - the component is attached to the DOM 'detached' - the component is not attached to the DOM 'visible' - the component is attached to the DOM and visible 'hidden' - the component is attached to the DOM but not visible

Default​

'attached'

debug​

debug: boolean

Defined in: packages/core/src/drivers/WaitForOption.ts:25

Whether to log debug information during the wait operation. When enabled, logs each probe's value and whether the condition was met.

Default​

false

timeoutMs​

timeoutMs: number

Defined in: packages/core/src/drivers/WaitForOption.ts:18

The number of milliseconds to wait before timing out

Default​

30000