puppeteer/website/versioned_docs/version-21.6.1/api/puppeteer.locator.clone.md

20 lines
219 B
Markdown
Raw Normal View History

---
sidebar_label: Locator.clone
---
# Locator.clone() method
Clones the locator.
#### Signature:
```typescript
class Locator {
clone(): Locator<T>;
}
```
**Returns:**
[Locator](./puppeteer.locator.md)&lt;T&gt;