Custom scripting examples

These pages provide examples of custom scripting for a variety of use cases. The examples may need to be modified for your specific needs.

Many of the scripts and sample code documented here were designed for use with our IE and Firefox agents. The current Chrome Agent has several restrictions on what can be done with it. In most cases, the sample code will need to be modified for use with Chrome, or may not be supported at all. For example, code that contains var loc = new Locator() is not supported by Chrome.

As of the April 2017 release, the Web Recorder includes a Script action for adding JavaScript to a transaction. These custom scripting examples are not guaranteed to be supported for the Web Recorder.