docs: clarify semantics of redirected response (#13636)

This commit is contained in:
Yury Semikhatsky 2022-04-19 09:36:38 -07:00 committed by GitHub
parent 05527bf110
commit 0a401b2d86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -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).

View File

@ -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).

View File

@ -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).