Back to Puppeteer

ElementHandle.clickablePoint() method

docs/api/puppeteer.elementhandle.clickablepoint.md

19.2.2523 B
Original Source

ElementHandle.clickablePoint() method

Returns the middle point within an element unless a specific offset is provided.

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

</td><td>

(Optional)

</td></tr> </tbody></table>

Returns:

Promise<Point>