Skip to content

Commit 4b84973

Browse files
authored
docs: api.md typos
Fixes #661
1 parent 7f46a09 commit 4b84973

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1401,7 +1401,7 @@ await page.waitForFunction(selector => !!document.querySelector(selector), {}, s
14011401
- `'networkidle2'` - consider navigation to be finished when there are no more than 2 network connections for at least `500` ms.
14021402
- returns: <[Promise]> Promise which resolves when the load state has been achieved.
14031403

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

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

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

28562856
```js

0 commit comments

Comments
 (0)