From 281db8feccfda0f887fafd31fc4f9dcff414d531 Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Mon, 21 Aug 2017 02:44:52 +0300 Subject: [PATCH] doc: change ambiguous phrase in api.md (#410) --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index 6f070109..d0ca9fda 100644 --- a/docs/api.md +++ b/docs/api.md @@ -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.