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

In the new Dynatrace synthetics is there any support for jquery?

don_bonin
Advisor

I'm looking for a better locator - CSS was never really designed to be a great locator, but jquery can do just about anything. since the new monitoring does not support xpath I'm hoping for a better alternative.

 

2 REPLIES 2

Philipp_Kastner
Dynatrace Pro
Dynatrace Pro

Hi @Don B.,

Dynatrace actually uses https://sizzlejs.com/ as CSS selector engine. As far as I know this is also what jQuery internally uses to select elements. You can for example you can use a locator like

a:contains('Github')

which would not be possible with standard CSS selectors.You will find more examples on the Sizzle webiste.

Kind regards, Philipp


This is exactly what I was hoping for, thanks!


Featured Posts