Comment Comment by vmware513 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" ;) parent vmware513 6 years ago