cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to mimic double click in the browser monitoring

Arunkumarbnp
Helper

How to mimic double click in the browser monitoring

4 REPLIES 4

sia_h
Dynatrace Champion
Dynatrace Champion

You must add a Synthetic event of type Javascript:

sia_h_1-1745406670703.png

sia_h_3-1745406750162.png

 

Then, use JavaScript like the example below, making sure the querySelector targets the specific HTML element you want to double click.

var event = new MouseEvent('dblclick', {
'view': window,
'bubbles': true,
'cancelable': true
});
document.querySelector('#CSSElement').dispatchEvent(event);

 

Arunkumarbnp
Helper

@sia_h 

Thanks for your quick reply.

I'll check and accept your answer as solution.

HannahM
Dynatrace Guru
Dynatrace Guru

You can find this documented here: How to perform DoubleClick event on browser click path synthetic monitor.

There are lots of helpful guides here: Synthetic Troubleshooting Map

Synthetic SME and community advocate.

Arunkumarbnp
Helper

@HannahM 

Thanks for your reply.

I'll check on it.

Featured Posts