---
title: "JavaScript History Access Restrictions"
slug: "javascript-history-access-restrictions"
updated: 2023-01-06T15:49:20Z
published: 2023-01-06T15:49:19Z
canonical: "docs.catchpoint.com/javascript-history-access-restrictions"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.catchpoint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# JavaScript History Access Restrictions

## Overview
Catchpoint blocks all JavaScript that attempts to emulate a browser's back button. This is done to ensure each test on a node is independent and has no access to browser history.

## Blocked JS Commands

Running any of the following JavaScript methods will result in a JavaScript error, or a transaction step error if run through the `runScriptAndWait()` or `runScript()` command:

- `window.history.back();`
- `window.history.go(-1);`
- `history.back();`
- `history.go(-1);`
