Skip to content
masterclass Buddy

Playwright · Method

page.goBack

Moves the page to the previous browser-history entry. It returns the main navigation response, or null when no previous entry exists.

Last updated

Since
before v1.9

Syntax

await page.goBack(options);

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • page.goForward
  • page.goto
  • page.reload
  • page.setDefaultNavigationTimeout
  • page.setDefaultTimeout
  • page.waitForURL

Source: Page | Playwright. Checked 2026-11-03.