2022-08-06 14:49:20 +00:00
|
|
|
---
|
|
|
|
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:
|
2022-08-06 14:49:20 +00:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
class ElementHandle {
|
|
|
|
clickablePoint(offset?: Offset): Promise<Point>;
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
2023-03-06 13:53:56 +00:00
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --------- | ------------------------------- | ------------ |
|
|
|
|
| offset | [Offset](./puppeteer.offset.md) | _(Optional)_ |
|
2022-08-06 14:49:20 +00:00
|
|
|
|
|
|
|
**Returns:**
|
|
|
|
|
|
|
|
Promise<[Point](./puppeteer.point.md)>
|