I created a tool that validates your CSS or XPath locators and gives and advice on improving them.
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
It analyzes locators by 4 metrics
And shows you the result. Try your locators now!