How is CSS selector different from XPath based locators?
CSS selectors are readable more easily than XPath locators.
Support is consistent for CSS selectors across different web browsers, this scenario is not with XPath engines.
CSS selectors are quicker than XPath.
For distinct observations, Selenium “best practices” recommend the use of CSS selectors over XPath.