docs(page): Document Page.reload (#9926)
This commit is contained in:
parent
3c420a7cf1
commit
498894280b
|
|
@ -2411,6 +2411,7 @@ Shortcut for main frame's [`method: Frame.querySelectorAll`].
|
|||
## async method: Page.reload
|
||||
- returns: <[null]|[Response]>
|
||||
|
||||
This method reloads the current page, in the same way as if the user had triggered a browser refresh.
|
||||
Returns the main resource response. In case of multiple redirects, the navigation will resolve with the response of the
|
||||
last redirect.
|
||||
|
||||
|
|
|
|||
4
packages/playwright-core/types/types.d.ts
vendored
4
packages/playwright-core/types/types.d.ts
vendored
|
|
@ -2730,8 +2730,8 @@ export interface Page {
|
|||
}): Promise<void>;
|
||||
|
||||
/**
|
||||
* Returns the main resource response. In case of multiple redirects, the navigation will resolve with the response of the
|
||||
* last redirect.
|
||||
* This method reloads the current page, in the same way as if the user had triggered a browser refresh. Returns the main
|
||||
* resource response. In case of multiple redirects, the navigation will resolve with the response of the last redirect.
|
||||
* @param options
|
||||
*/
|
||||
reload(options?: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue