Skip to content

Commit

Permalink
docs(api.md): Fix ElementHandle example (#3401)
Browse files Browse the repository at this point in the history
This patch fixes an ElementHandle example by
adding a missing parenthesis.
  • Loading branch information
oflisback authored and JoelEinbinder committed Oct 17, 2018
1 parent d025d1f commit cf8c62e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api.md
Expand Up @@ -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)
Expand Down

0 comments on commit cf8c62e

Please sign in to comment.