Can we use css properties (like background-color) for locating an element when that property is not part of the element attributes? Like
If I have to get the xpath or css of this element, either I have to use class or href attributes or similar way. But I want to find it based on the background color, which is not shown anywhere in the attributes but it is seen in the element style.
Please answer if this is possible