1 min readJul 12, 2020
you can easily access react components using [cypress-react-selector][https://www.npmjs.com/package/cypress-react-selector]. It uses react’s internal properties like component, props, and states to identify the element in real-time. You don’t need to set any custom attribute in your JSX, you can find out the elements in a way which more native to REACT.