mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
787 B
787 B
sidebar_label |
---|
Page.goBack |
Page.goBack() method
This method navigate to the previous page in history.
Signature:
class Page {
abstract goBack(options?: WaitForOptions): Promise<HTTPResponse | null>;
}
Parameters
Parameter |
Type |
Description |
---|---|---|
options |
(Optional) Navigation parameters |
Promise<HTTPResponse | null>
Promise which resolves to the main resource response. In case of multiple redirects, the navigation will resolve with the response of the last redirect. If can not go back, resolves to null
.