xpath text
//tag[text()='sometext']
xpath vs css selector
- We can create custom locators with both of them
- CSS Selector:
- Works only one way. We can only go from
parent to child using CSS Selector.
- CssSelector is technically faster than XPATH.
- XPATH:
- Works both ways. We can go both from parent to child,
and child to parent using XPATH.
- We can work with displayed TEXTS.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us