Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



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

Search: