4 ms·
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
by ddoice 3y 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.
- sebazzz 3y agoExactly, and because they are specific for the purpose of testing they are less likely to break due to changes in the HTML.