mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 13:45:36 +03:00
docs(api): remove extra closing square bracket, add an opening square bracket. (#3342)
This commit is contained in:
parent
9d543f9446
commit
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.
|
||||
|
Loading…
Reference in New Issue
Block a user