News for hackers. Stuff that matters.
Re:Playwright Test Generator by ddoice on Thursday March 14, 2024 @05:07PM (#39708989)
Imho IDs are more explicit, and a bless when working with large codebase apps, when trying to finding the related code to an element just grab the id and search for it.
Re:Playwright Test Generator by sebazzz on Saturday March 16, 2024 @02:56AM (#39723873)
Exactly, and because they are specific for the purpose of testing they are less likely to break due to changes in the HTML.