I am using webdriver to do acceptance-testing.
Sometimes you want to find certain elements on the page. Usually you do this by xpath, classes, names, etc. But since I often use inline-styling, it's not easy to use classes to find a certain element.
So my question is, if there is a way to find a element on the page by it's react-component (DisplayName or so).