docs(api.md): fix typo (#4761)

This commit is contained in:
Yevhen 2019-07-30 00:14:31 +03:00 committed by Andrey Lushnikov
parent 7a607469df
commit 7fded54903

View File

@ -488,7 +488,7 @@ puppeteer.launch().then(async browser => {
- returns: <[Object]> - returns: <[Object]>
- `TimeoutError` <[function]> A class of [TimeoutError]. - `TimeoutError` <[function]> A class of [TimeoutError].
Puppeteer methods might throw errors if they are unable to fufill a request. For example, [page.waitForSelector(selector[, options])](#pagewaitforselectorselector-options) Puppeteer methods might throw errors if they are unable to fulfill a request. For example, [page.waitForSelector(selector[, options])](#pagewaitforselectorselector-options)
might fail if the selector doesn't match any nodes during the given timeframe. might fail if the selector doesn't match any nodes during the given timeframe.
For certain types of errors Puppeteer uses specific error classes. For certain types of errors Puppeteer uses specific error classes.