Skip to main content
Version: 21.0.0

Locator.waitHandle() method

Waits for the locator to get a handle from the page.

Signature:

class Locator {
waitHandle(options?: Readonly<ActionOptions>): Promise<HandleFor<T>>;
}

Parameters

ParameterTypeDescription
optionsReadonly<ActionOptions>(Optional)

Returns:

Promise<HandleFor<T>>