Go Back

Command value: goBack

Goes back one page in browser history.

Fields

This action has no fields.

Usage

  • Use it to check that back navigation keeps form state or returns to the right list position.

Example step (JSON)

{
  "command": "goBack"
}

Playwright equivalent

await page.goBack();

Common options

  • Make this step optional (Continue on failure): when checked, a failure in this step is recorded and the test continues with the next step.
  • Execute step when JavaScript returns true: runs the step only when the JavaScript condition returns true. Otherwise the step is skipped.

See conditional steps and variables for details.