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

49 lines
578 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
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
offset
</td><td>
[Offset](./puppeteer.offset.md)
</td><td>
_(Optional)_
</td></tr>
</tbody></table>
**Returns:**
Promise&lt;[Point](./puppeteer.point.md)&gt;