docs(api): remove extra closing square bracket, add an opening square bracket. (#3342)
This commit is contained in:
Родитель
9d543f9446
Коммит
3665bb0a9a
|
@ -1869,7 +1869,7 @@ const selector = '.foo';
|
|||
await page.waitForFunction(selector => !!document.querySelector(selector), selector);
|
||||
```
|
||||
|
||||
Shortcut for [page.mainFrame().waitForFunction(pageFunction, arg, options]])](#framewaitforfunctionpagefunction-arg-options).
|
||||
Shortcut for [page.mainFrame().waitForFunction(pageFunction[, arg, options])](#framewaitforfunctionpagefunction-arg-options).
|
||||
|
||||
#### page.waitForLoadState([state[, options]])
|
||||
- `state` <"load"|"domcontentloaded"|"networkidle"> Load state to wait for, defaults to `load`. If the state has been already reached while loading current document, the method resolves immediately.
|
||||
|
|
Загрузка…
Ссылка в новой задаче