09 Jan 2019 05:53 PM - last edited on 18 Oct 2022 12:23 PM by MaciejNeumann
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.
Solved! Go to Solution.
10 Jan 2019 12:18 PM
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
10 Jan 2019 02:13 PM
This is exactly what I was hoping for, thanks!