Question: what is the difference between css selector and xpath which is better from performance perspective?
Answer: Hello Ushma, the primary difference between XPath and CSS Selectors is that, with the XPath we can traverse both forward and backward whereas CSS selector only moves forward. Although CSS selectors perform far better than Xpath and it is well documented in Selenium community.