mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
docs(api): fix misleading “seconds” for waitForTimeout (#6619)
This commit is contained in:
parent
0473a2ae32
commit
3354aa7fa8
@ -2293,7 +2293,7 @@ Shortcut for [page.mainFrame().waitForSelector(selector[, options])](#framewaitf
|
||||
- `milliseconds` <[number]> The number of milliseconds to wait for.
|
||||
- returns: <[Promise]> Promise which resolves after the timeout has completed.
|
||||
|
||||
Pauses script execution for the given number of seconds before continuing:
|
||||
Pauses script execution for the given number of milliseconds before continuing:
|
||||
|
||||
```js
|
||||
const puppeteer = require('puppeteer');
|
||||
|
Loading…
Reference in New Issue
Block a user