difference between xpath and css selector 3f

Solutions on MaxInterview for difference between xpath and css selector 3f by the best coders in the world

showing results for - "difference between xpath and css selector 3f"
Irene
29 Jan 2020
1- We can create custom locators with both of them
2
3- CSS Selector:
4 - Works only one way. We can only go from
5   parent to child using CSS Selector.
6 - CssSelector is technically faster than XPATH.
7
8- XPATH:
9 - Works both ways. We can go both from parent to child,
10   and child to parent using XPATH.
11 - We can work with displayed TEXTS.
similar questions