Skip to main content
Version: 22.10.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

Parameter

Type

Description

options

Readonly<ActionOptions>

(Optional)

Returns:

Promise<HandleFor<T>>