puppeteer/docs/api/puppeteer.page.goforward.md
2024-05-29 09:14:12 +00:00

794 B

sidebar_label
Page.goForward

Page.goForward() method

This method navigate to the next page in history.

Signature:

class Page {
  abstract goForward(options?: WaitForOptions): Promise<HTTPResponse | null>;
}

Parameters

Parameter

Type

Description

options

WaitForOptions

(Optional) Navigation Parameter

**Returns:**

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 forward, resolves to null.