Q:

xpath vs css selector

With Xpath, we can search elements backward or forward... 
while Css works only in forward direction.
Xpath can work with text, Css cannot work with text
Xpath has more combination and can search by index, Css cannotsearch by index,
but Css is working faster than Xpath.
1

New to Communities?

Join the community