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.

Import external library

This code is currently not supported by the Chrome Agent.

Sometimes, you may need external JavaScript libraries to create tests. The most common example is when you need to use the CryptoJS library to encrypt a password entry.

Use the ImportJS command to bring in external libraries.

var importJS = new ImportJSCommand({
	name: 'CryptoJS',
	version: '',
	url: 'https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/components/core.js'