Skip to main content
Version: Next

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>>