11 Sep 2024 02:24 PM
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.
11 Sep 2024 06:04 PM
For us replacing the click step with JavaScript step with window.open('{url of the page you want to navigate too}') works
HTH
Yos
11 Sep 2024 08:55 PM
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. 🙂