Hacker News new | past | comments | ask | show | jobs | submit login

I think a better approach is to take ui tests into account during development and use data attributes, like data-cy="input-username" or data-input-name="username"

Also the issue with Selenium isn't with finding elements on a page




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: