How to identify color of an element

I have a scenario where the color dots will state the status of an Object, So here need to get the color of element to make sure the object change.

Your life will become simpler if your dev team can add locators for each color dot.
Eg: red dot has locator as ‘red_dot’.

1 Like