I am writing Selenium automation against a React application. I would like to have unique IDs added to page elements I am testing.
I asked the developers but their response was that this was hard to do because of the dynamic nature of the React application.
I don't know React - is this likely true? Is it likely that they are truly prevented from adding a fixed ID? Could the issue be that QA needs to ask for a different attribute other than ID, perhaps? For example, should it be easy for them to add a data attribute such as