Skip to main content
Version: 1.x

Interface: ControlWaitResult

Outcome of a per-control wait.

Example​

const result = await waitForControlState(locator, predicate);
logger.debug(result.strategy); // 'locator' on 1.62+, 'page' below

Properties​

strategy​

readonly strategy: ControlWaitStrategy

Which implementation ran — useful when diagnosing version differences.