Y
Hacker News
new
|
ask
|
show
|
jobs
by
ddoice
825 days ago
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.
1 comments
sebazzz
823 days ago
Exactly, and because they are specific for the purpose of testing they are less likely to break due to changes in the HTML.
link