Understanding the origins and identity of `data-XXX` attribute usage in websites
I have developed several website scrapers and recently reviewed and analyzed them and identified the following six data attribute conventions in use across various sites: data-automation-id data-component data-id data-test data-test-id data-testid They seem to decorate a given element in the DOM with semantic metadata presumably for use in some automation testing of some kind I'd imagine. I'd like to know where this variation in the attribute names is originating from. Is there a central web development framework, a templating engine, perhaps some programming paradigm, or simply open ended dev
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.