doc: change ambiguous phrase in api.md (#410)
This commit is contained in:
parent
292c7a237f
commit
281db8fecc
@ -1138,7 +1138,7 @@ The `elementHandle.dispose` method stops referencing the element handle.
|
||||
- returns: <[Promise]<[Serializable]>> Promise which resolves to function return value
|
||||
|
||||
If the function, passed to the `elementHandle.evaluate`, returns a [Promise], then `elementHandle.evaluate` would wait for the promise to resolve and return it's value.
|
||||
The function will be passed in the element ifself as a first argument.
|
||||
The element will be passed as the first argument to `pageFunction`, followed by any `args`.
|
||||
|
||||
#### elementHandle.hover()
|
||||
- returns: <[Promise]> Promise which resolves when the element is successfully hovered.
|
||||
|
Loading…
Reference in New Issue
Block a user