mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
doc(api.md): ElementHandle.boundingBox() returns a promise (#1437)
This commit is contained in:
parent
88eaede5ad
commit
3b60ad1c39
@ -1794,7 +1794,7 @@ The method runs `element.querySelectorAll` within the page. If no elements match
|
||||
- returns: <[elementhandle]>
|
||||
|
||||
#### elementHandle.boundingBox()
|
||||
- returns: <?[Object]>
|
||||
- returns: <[Promise]<?[Object]>>
|
||||
- x <[number]> the x coordinate of the element in pixels.
|
||||
- y <[number]> the y coordinate of the element in pixels.
|
||||
- width <[number]> the width of the element in pixels.
|
||||
|
Loading…
Reference in New Issue
Block a user