We are using Selenium and running our UI tests with BrowserStack.
In our application the user can configure charts to display whatever data she feels like.
In our tests we need to create a chart configuration, mock appropriate data and verify that the data is shown in the chart.
We need to be able to find each datapoint and its associated value.
This was possible in HighCharts where a class is added to all the datapoints (and labels, titles etc.) and thus queryable with Selenium.
I have seen elsewhere that the recommendation is to use the "d" attribute of the path elements but this is not a reasonable solution as we are testing on several different platforms and the value of the "d" attribute does not appear to be constant.
How do you propose we solve this with Selenium?
Thanks,
Casper