Improve the quality of your CSS and XPath locators

I created a tool that validates your CSS or XPath locators and gives and advice on improving them.

:arrow_right: https://davertmik.github.io/locator/

This tools should be used for everyone who runs browser tests with Selenium and wants to write better locators. Especially useful this should be for juniors to learn what is right and what is wrong :sunny:

It analyzes locators by 4 metrics

  • length
  • stability
  • simplicity
  • uniqueness

And shows you the result. Try your locators now!

3 Likes