mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs: clarify semantics of redirected response (#13636)
This commit is contained in:
parent
05527bf110
commit
0a401b2d86
@ -2018,8 +2018,8 @@ Navigate to the next page in history.
|
|||||||
- alias-java: navigate
|
- alias-java: navigate
|
||||||
- returns: <[null]|[Response]>
|
- returns: <[null]|[Response]>
|
||||||
|
|
||||||
Returns the main resource response. In case of multiple redirects, the navigation will resolve with the response of the
|
Returns the main resource response. In case of multiple redirects, the navigation will resolve with the first
|
||||||
last redirect.
|
non-redirect response.
|
||||||
|
|
||||||
The method will throw an error if:
|
The method will throw an error if:
|
||||||
* there's an SSL error (e.g. in case of self-signed certificates).
|
* there's an SSL error (e.g. in case of self-signed certificates).
|
||||||
|
|||||||
4
packages/playwright-core/types/types.d.ts
vendored
4
packages/playwright-core/types/types.d.ts
vendored
@ -2296,8 +2296,8 @@ export interface Page {
|
|||||||
}): Promise<null|Response>;
|
}): Promise<null|Response>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the main resource response. In case of multiple redirects, the navigation will resolve with the response of the
|
* Returns the main resource response. In case of multiple redirects, the navigation will resolve with the first
|
||||||
* last redirect.
|
* non-redirect response.
|
||||||
*
|
*
|
||||||
* The method will throw an error if:
|
* The method will throw an error if:
|
||||||
* - there's an SSL error (e.g. in case of self-signed certificates).
|
* - there's an SSL error (e.g. in case of self-signed certificates).
|
||||||
|
|||||||
4
tests/config/experimental.d.ts
vendored
4
tests/config/experimental.d.ts
vendored
@ -2298,8 +2298,8 @@ export interface Page {
|
|||||||
}): Promise<null|Response>;
|
}): Promise<null|Response>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the main resource response. In case of multiple redirects, the navigation will resolve with the response of the
|
* Returns the main resource response. In case of multiple redirects, the navigation will resolve with the first
|
||||||
* last redirect.
|
* non-redirect response.
|
||||||
*
|
*
|
||||||
* The method will throw an error if:
|
* The method will throw an error if:
|
||||||
* - there's an SSL error (e.g. in case of self-signed certificates).
|
* - there's an SSL error (e.g. in case of self-signed certificates).
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user