docs(api.md): fix typo (#2890)

This commit is contained in:
Maxi Cilauro 2018-07-17 00:07:54 +02:00 committed by Andrey Lushnikov
parent e7b0e0f448
commit e4e72c9e81

View File

@ -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]>>