09 Jan 2019
09:53 AM
- last edited on
18 Oct 2022
04:23 AM
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.
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!