mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
docs: fix typo (#7839)
This commit is contained in:
parent
acdc67bd02
commit
3e3a90be53
@ -4917,7 +4917,7 @@ If request gets a 'redirect' response, the request is successfully finished with
|
|||||||
- `namenotresolved` - The host name could not be resolved.
|
- `namenotresolved` - The host name could not be resolved.
|
||||||
- `timedout` - An operation timed out.
|
- `timedout` - An operation timed out.
|
||||||
- `failed` - A generic failure occurred.
|
- `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]>
|
- returns: <[Promise]>
|
||||||
|
|
||||||
Aborts request. To use this, request interception should be enabled with `page.setRequestInterception`.
|
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`).
|
- `method` <[string]> If set changes the request method (e.g. `GET` or `POST`).
|
||||||
- `postData` <[string]> If set changes the post data of request.
|
- `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.
|
- `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]>
|
- returns: <[Promise]>
|
||||||
|
|
||||||
Continues request with optional request overrides. To use this, request interception should be enabled with `page.setRequestInterception`.
|
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.
|
- `headers` <[Object]> Optional response headers. Header values will be converted to a string.
|
||||||
- `contentType` <[string]> If set, equals to setting `Content-Type` response header
|
- `contentType` <[string]> If set, equals to setting `Content-Type` response header
|
||||||
- `body` <[string]|[Buffer]> Optional response body
|
- `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]>
|
- returns: <[Promise]>
|
||||||
|
|
||||||
Fulfills request with given response. To use this, request interception should
|
Fulfills request with given response. To use this, request interception should
|
||||||
|
Loading…
Reference in New Issue
Block a user