mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
242004b950
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
20 lines
219 B
Markdown
20 lines
219 B
Markdown
---
|
|
sidebar_label: Locator.clone
|
|
---
|
|
|
|
# Locator.clone() method
|
|
|
|
Clones the locator.
|
|
|
|
#### Signature:
|
|
|
|
```typescript
|
|
class Locator {
|
|
clone(): Locator<T>;
|
|
}
|
|
```
|
|
|
|
**Returns:**
|
|
|
|
[Locator](./puppeteer.locator.md)<T>
|