JavaScript History Access Restrictions

Prev Next

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);