Hacker News new | ask | show | jobs
by vmware513 2155 days ago
Actually you can use the whole attribute name as selector, like data-test-user-name-input, and if you need a dynamic id, you can add as a value: data-test-product-item="book" ;)
1 comments

Cool idea, thanks!