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
Get Updates on the Splunk Community!

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

 Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...