puppeteer/docs/api/puppeteer.locator.clone.md

219 B

sidebar_label
Locator.clone

Locator.clone() method

Clones the locator.

Signature:

class Locator {
  clone(): Locator<T>;
}

Returns:

Locator<T>