Is it possible to target the attribute instead of the element?
For example: i have this html; <span data-test-id="chart-title" class="text-md md:text-xl">Manage Products</span>
I want to target the date-test-id instead of the classes which prone to break when refactoring. Thanks
Is it possible to target the attribute instead of the element? For example: i have this html;
<span data-test-id="chart-title" class="text-md md:text-xl">Manage Products</span>
I want to target the date-test-id instead of the classes which prone to break when refactoring. Thanks