From 5af70e8ce339cefedf2f1eb2ab75960ef2ddefcf Mon Sep 17 00:00:00 2001 From: jviala-ekino Date: Tue, 13 Mar 2018 15:42:37 +0100 Subject: [PATCH] docs(api.md): fix typo (#2177) --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index acbbc9aedc3..f6414a5a080 100644 --- a/docs/api.md +++ b/docs/api.md @@ -2022,7 +2022,7 @@ console.log(result); // prints '3'. The only difference between `executionContext.evaluate` and `executionContext.evaluateHandle` is that `executionContext.evaluateHandle` returns in-page object (JSHandle). -If the function passed to the `executionContext.evaluateHandle` returns a [Promise], then `executionContext.evaluteHandle` would wait for the promise to resolve and return its value. +If the function passed to the `executionContext.evaluateHandle` returns a [Promise], then `executionContext.evaluateHandle` would wait for the promise to resolve and return its value. ```js const context = await page.mainFrame().executionContext();