Information:

Environment

  • Dynatrace Recorder

 

Symptoms

I need to close a pop-up window but the Recorder does not have an action to simulate the operation.

Solution

Add a Custom action to the script to use JavaScript to close the window:

window.close();

For more information, see the help pages: