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
|
||||
- returns: <[null]|[Response]>
|
||||
|
||||
Returns the main resource response. In case of multiple redirects, the navigation will resolve with the response of the
|
||||
last redirect.
|
||||
Returns the main resource response. In case of multiple redirects, the navigation will resolve with the first
|
||||
non-redirect response.
|
||||
|
||||
The method will throw an error if:
|
||||
* 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>;
|
||||
|
||||
/**
|
||||
* Returns the main resource response. In case of multiple redirects, the navigation will resolve with the response of the
|
||||
* last redirect.
|
||||
* Returns the main resource response. In case of multiple redirects, the navigation will resolve with the first
|
||||
* non-redirect response.
|
||||
*
|
||||
* The method will throw an error if:
|
||||
* - 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>;
|
||||
|
||||
/**
|
||||
* Returns the main resource response. In case of multiple redirects, the navigation will resolve with the response of the
|
||||
* last redirect.
|
||||
* Returns the main resource response. In case of multiple redirects, the navigation will resolve with the first
|
||||
* non-redirect response.
|
||||
*
|
||||
* The method will throw an error if:
|
||||
* - there's an SSL error (e.g. in case of self-signed certificates).
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user