mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
docs(api.md): fix typo (#2890)
This commit is contained in:
parent
e7b0e0f448
commit
e4e72c9e81
@ -2498,7 +2498,7 @@ expect(await tweetHandle.$eval('.retweets', node => node.innerText)).toBe('10');
|
|||||||
The method evaluates the XPath expression relative to the elementHandle. If there are no such elements, the method will resolve to an empty array.
|
The method evaluates the XPath expression relative to the elementHandle. If there are no such elements, the method will resolve to an empty array.
|
||||||
|
|
||||||
#### elementHandle.asElement()
|
#### elementHandle.asElement()
|
||||||
- returns: <[elementhandle]>
|
- returns: <[ElementHandle]>
|
||||||
|
|
||||||
#### elementHandle.boundingBox()
|
#### elementHandle.boundingBox()
|
||||||
- returns: <[Promise]<?[Object]>>
|
- returns: <[Promise]<?[Object]>>
|
||||||
|
Loading…
Reference in New Issue
Block a user