puppeteer/docs/api/puppeteer.locator.settimeout.md

355 B

sidebar_label
Locator.setTimeout

Locator.setTimeout() method

Signature:

class Locator {
  setTimeout(timeout: number): Locator<T>;
}

Parameters

Parameter Type Description
timeout number

Returns:

Locator<T>