Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
vmware513
· 6y ago · 0 comments
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" ;)
Comments
[–]
chris_st
6y ago
Cool idea, thanks!