diff --git a/docs/api.md b/docs/api.md index eec5b8c4eaa90..1f46057aad71d 100644 --- a/docs/api.md +++ b/docs/api.md @@ -4917,7 +4917,7 @@ If request gets a 'redirect' response, the request is successfully finished with - `namenotresolved` - The host name could not be resolved. - `timedout` - An operation timed out. - `failed` - A generic failure occurred. -- `priority` <[number]> - Optional intercept abort priority. If provided, intercept will be resolved using [cooperative](#cooperative-intercept-mode-and-legacy-intercept-mode) handling rules. Otherwise, intercept will be resovled immediately. +- `priority` <[number]> - Optional intercept abort priority. If provided, intercept will be resolved using [cooperative](#cooperative-intercept-mode-and-legacy-intercept-mode) handling rules. Otherwise, intercept will be resolved immediately. - returns: <[Promise]> Aborts request. To use this, request interception should be enabled with `page.setRequestInterception`. @@ -4936,7 +4936,7 @@ Returns the most recent reason for aborting set by the previous call to abort() - `method` <[string]> If set changes the request method (e.g. `GET` or `POST`). - `postData` <[string]> If set changes the post data of request. - `headers` <[Object]> If set changes the request HTTP headers. Header values will be converted to a string. -- `priority` <[number]> - Optional intercept abort priority. If provided, intercept will be resolved using coopeative handling rules. Otherwise, intercept will be resovled immediately. +- `priority` <[number]> - Optional intercept abort priority. If provided, intercept will be resolved using coopeative handling rules. Otherwise, intercept will be resolved immediately. - returns: <[Promise]> Continues request with optional request overrides. To use this, request interception should be enabled with `page.setRequestInterception`. @@ -5111,7 +5111,7 @@ ResourceType will be one of the following: `document`, `stylesheet`, `image`, `m - `headers` <[Object]> Optional response headers. Header values will be converted to a string. - `contentType` <[string]> If set, equals to setting `Content-Type` response header - `body` <[string]|[Buffer]> Optional response body -- `priority` <[number]> - Optional intercept abort priority. If provided, intercept will be resolved using coopeative handling rules. Otherwise, intercept will be resovled immediately. +- `priority` <[number]> - Optional intercept abort priority. If provided, intercept will be resolved using coopeative handling rules. Otherwise, intercept will be resolved immediately. - returns: <[Promise]> Fulfills request with given response. To use this, request interception should