Environment

  • Dynatrace Recorder
Question

I need to create a script on my web site. The site pops up a new window during a business transaction. The target window's value for the popup window is dynamic. How can I get the popup window's number?

Response

Use JavaScript, such as the following example, in a Custom action to get the popup window's number. For details, see the help pages Custom Actions and Editing Script Actions.