diff --git a/docs/api.md b/docs/api.md index abf95817..a32a59e6 100644 --- a/docs/api.md +++ b/docs/api.md @@ -488,7 +488,7 @@ puppeteer.launch().then(async browser => { - returns: <[Object]> - `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. For certain types of errors Puppeteer uses specific error classes.