docs(api): fix misleading “seconds” for waitForTimeout (#6619)

This commit is contained in:
Greg Gorlen 2020-11-24 00:24:36 -08:00 committed by GitHub
parent 0473a2ae32
commit 3354aa7fa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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');