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.
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')<br>
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!