Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ddoice
· 2y ago · 0 comments
Imho IDs are more explicit, and a bless when working with large codebase apps, when trying to finding the related code to an element just grab the id and search for it.
Comments
[–]
sebazzz
2y ago
Exactly, and because they are specific for the purpose of testing they are less likely to break due to changes in the HTML.