puppeteer/docs/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;