Time to upgrade! You only have until October 31, 2019 to move to Dynatrace, our all-in-one software intelligence platform. For details, see the Synthetic Upgrade Center and Dynatrace Synthetic documentation.

Custom scripting

These pages explain different custom scripting techniques and describe when it is appropriate to use them.

Custom scripting techniques

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.

These custom scripting examples are not guaranteed to be supported for the Web Recorder.


Byte limits


Dynamic data



Page interactions



Web services