Skip to content

Commit

Permalink
docs: api.md typos
Browse files Browse the repository at this point in the history
Fixes #661
  • Loading branch information
pavelfeldman authored Jan 27, 2020
1 parent 7f46a09 commit 4b84973
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1401,7 +1401,7 @@ await page.waitForFunction(selector => !!document.querySelector(selector), {}, s
- `'networkidle2'` - consider navigation to be finished when there are no more than 2 network connections for at least `500` ms.
- returns: <[Promise]> Promise which resolves when the load state has been achieved.

This resolves when the page reaches a required load state, `load` by dedault. The navigation can be in progress when it is called.
This resolves when the page reaches a required load state, `load` by default. The navigation can be in progress when it is called.
If navigation is already at a required state, resolves immediately.

```js
Expand Down Expand Up @@ -2850,7 +2850,7 @@ Shortcut for [page.mainFrame().waitForFunction(pageFunction[, options[, ...args]
- `'networkidle2'` - consider navigation to be finished when there are no more than 2 network connections for at least `500` ms.
- returns: <[Promise]> Promise which resolves when the load state has been achieved.

This resolves when the page reaches a required load state, `load` by dedault. The navigation can be in progress when it is called.
This resolves when the page reaches a required load state, `load` by default. The navigation can be in progress when it is called.
If navigation is already at a required state, resolves immediately.

```js
Expand Down

0 comments on commit 4b84973

Please sign in to comment.