Notes
Best Locator to use
Content of the notes (1)
Page 1
ID is the best locator, for it is unique.
If it doesn't exist, it is easy to ask developer to add it.
stable if using ID
class if it is unique, for sometimes it is not
Xpath is the worst
Tag name is not good as well
Information
- Description
- 1 Selenium Note on Best Locator to use, created by Yi Bao on 13/04/2019.
- Created by
- Yi Bao
- Views
- 0
- Rating