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.
SubscribeRelated
page.goForwardpage.gotopage.reloadpage.setDefaultNavigationTimeoutpage.setDefaultTimeoutpage.waitForURL