Back to Puppeteer

Offset interface

docs/api/puppeteer.offset.md

19.2.2614 B
Original Source

Offset interface

Signature

typescript
export interface Offset

Properties

<table><thead><tr><th>

Property

</th><th>

Modifiers

</th><th>

Type

</th><th>

Description

</th><th>

Default

</th></tr></thead> <tbody><tr><td>

<span id="x">x</span>

</td><td> </td><td>

number

</td><td>

x-offset for the clickable point relative to the top-left corner of the border box.

</td><td> </td></tr> <tr><td>

<span id="y">y</span>

</td><td> </td><td>

number

</td><td>

y-offset for the clickable point relative to the top-left corner of the border box.

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