I want to check the color of an element in an html page. The color of this element is set with a javascript, look at the image
The element with div-id \"Ab_banco_M
With XPath you can try to search by attribute. For example //div[@style='background: red']. If you want to get color then for CSS I would use method getCSSValue()
//div[@style='background: red']