puppeteer/docs/api/puppeteer.locator.waithandle.md

625 B

sidebar_label
Locator.waitHandle

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