Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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" ;)


Cool idea, thanks!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: