puppeteer/new-docs/puppeteer.elementhandle.boundingbox.md

21 lines
551 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [ElementHandle](./puppeteer.elementhandle.md) &gt; [boundingBox](./puppeteer.elementhandle.boundingbox.md)
## ElementHandle.boundingBox() method
<b>Signature:</b>
```typescript
boundingBox(): Promise<{
x: number;
y: number;
width: number;
height: number;
}>;
```
<b>Returns:</b>
Promise&lt;{ x: number; y: number; width: number; height: number; }&gt;