puppeteer/website/versioned_docs/version-19.8.3/api/puppeteer.elementhandle.clickablepoint.md

26 lines
551 B
Markdown
Raw Normal View History

---
sidebar_label: ElementHandle.clickablePoint
---
# ElementHandle.clickablePoint() method
Returns the middle point within an element unless a specific offset is provided.
2022-10-24 14:31:12 +00:00
#### Signature:
```typescript
class ElementHandle {
clickablePoint(offset?: Offset): Promise<Point>;
}
```
## Parameters
| Parameter | Type | Description |
| --------- | ------------------------------- | ------------ |
| offset | [Offset](./puppeteer.offset.md) | _(Optional)_ |
**Returns:**
Promise&lt;[Point](./puppeteer.point.md)&gt;