title: How to check background color of the XCUIElement in UI test cases??
body: <p>I am working on one issue where I need to change the Textfield's background color to the white color. I wanted to add the UI test case for it to check if background color of the <code>XCUIElement</code>(i.e Textfield) is white color or not. I searched for it but didn't not find any useful answer on it. I wanted to know if it is even possible check against background color in the UITest Cases.</p>
  <p>I was going through Matt's answer, but didn't get clear idea.</p>
  <p><a href="https://stackoverflow.com/a/37754840/3278326">https://stackoverflow.com/a/37754840/3278326</a></p>
  <p>Thoughts?</p>