Splunk Observability Cloud

Synthetics - tracking a new window in browser test

maddop
New Member

I am using the Synthetics browser test to track availability of our Citrix client application endpoints.

The user journey:

  1. access public url
  2. sign into account (username, click next, password, click sign-in)
  3. click the application icon
  4. a new window loads with the application

Everything works great up-to step 3. I cannot figure out how we track the new window. This is the key part, I need to know if this loads successfully. 

I suspect it is not possible based upon reading the documentation but has anyone had a similar issue and successfully solved it?

Labels (1)
0 Karma

maddop
New Member

Hi @livehybrid 

Unfortunately not, its a button CSS + Javascript.  

 

<button type="button" class="web-ui-component__button  jjui-11138fz" style="display: inline-block;">
<div data-analytics-name="resource-tile" data-testid="sampleApp_Dev" tabindex="-1" class="jjui-vkvk0d ell0llb0">
.............

 

 

I can successfully simulate the click of the button using "click" CSS selector 

 

div[data-testid="sampleApp_Dev"]  

 

 

but do not have direct access to the JS. I've traced it in Chrome but it has so many nested calls its challenging to find anything useful

0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @maddop 

Is the link you're clicking on a regular a/href link with a target=_blank ? 

You may be able to "Execute Javascript" before the click to remove the target from the link, then click as normal?

const links = document.querySelectorAll('a');

// Iterate over each link and remove the 'target' attribute
links.forEach(link => {
  link.removeAttribute('target');
});

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...