From cf8c62e835b565feb9d19639a3832a59d9b07aca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ola=20Flisb=C3=A4ck?= Date: Wed, 17 Oct 2018 02:24:46 +0200 Subject: [PATCH] docs(api.md): Fix ElementHandle example (#3401) This patch fixes an ElementHandle example by adding a missing parenthesis. --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index 19258f42..5a1d1358 100644 --- a/docs/api.md +++ b/docs/api.md @@ -2847,7 +2847,7 @@ Examples: ``` ```js const feedHandle = await page.$('.feed'); -expect(await feedHandle.$$eval('.tweet', nodes => nodes.map(n => n.innerText)).toEqual(['Hello!', 'Hi!']); +expect(await feedHandle.$$eval('.tweet', nodes => nodes.map(n => n.innerText))).toEqual(['Hello!', 'Hi!']); ``` #### elementHandle.$eval(selector, pageFunction, ...args)