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

Can browser clickpath switch to a new window during playback?

andre_vdveen
DynaMight Champion
DynaMight Champion

Is it possible for synthetic browser clickpath monitors to start running in a browser window and then when a specific button is clicked, which opens a new window, switch to that new window and continue there?

It seems to work fine during recording and playback, where it opens a new tab, but not during execution when it opens a new window. According to the docs, target window is used for tabs...so does that mean it won't work for a new window?

I've tried to use window[1] for the new window, but it doesn't seem to work.

2 REPLIES 2

Yosi_Neuman
DynaMight Guru
DynaMight Guru

Hi @andre_vdveen 

For us replacing the click step with JavaScript step with window.open('{url of the page you want to navigate too}') works

Yosi_Neuman_0-1726074098890.png

HTH

Yos 

dynatrace certificated professional - dynatrace master partner - Matrix Soft Ware Division - Israel

Hi @Yosi_Neuman thanks for the tip, that's good to know!

Unfortunately, it is not an option for this particular use case.
The button that opens the new window, has JS behind it that links to a 3rd-party site, but I don't see any URL I can use in the code. It also does some check for an access token to validate the user and session, and I don't see a way around this. But I'll keep at it and update if I do find a way. 🙂

Featured Posts