2 ms·
But generally you'll want to emulate how users use your application, which is looking for a button with a particular label (bonus points if your tests are looki
by Vinnl 5y ago
But generally you'll want to emulate how users use your application, which is looking for a button with a particular label (bonus points if your tests are looking for the accessible label), rather than something with a given ID.