Why is using xpath considered bad in Playwright with Reactjs?
Context: I want to test my react app with playwright. I have two Buttons who are nearly identical(The name of the both buttoons are bound to the same state, they always have the same name). Therefore i cant locate them…