Question: why css is faster than xpath?
Answer: 3 Answers. CSS selectors perform far better than Xpath and it is well documented in Selenium community. ... Xpath engines are different in each browser, hence make them inconsistent. IE does not have a native xpath engine, therefore selenium injects its own xpath engine for compatibility of its API.