Our team is writing Selenium tests to validate the state of our page that contains a map and legend. We have added code to wait for the page to be loaded, but still the contents of the legend are usually incorrect (even if we retry after a failure).
Has anyone had success implementing black-box testing the legend with Selenium?
I saw a suggestion of using a snapshot tool and comparing to a known, good snapshot. Is that still the suggested practice?
Thank you.