title: How to check mouseover operation changes the UI colour in selenium
body: <p>I want to verify whether stars are lit up or not when I hover mouse on top of it.(Attached a Screenshot for better understanding). How can I verify whether it is lit up or not?</p>
  
  <p><a href="https://i.stack.imgur.com/Snfuh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Snfuh.png" alt="enter image description here"></a></p>
  
  <p>HTML structure of the element is as given below:</p>
  
  <pre><code>&lt;span class="wh-rating rating_4_5" style="display: inline-block;"&gt;
  Rating:
  &lt;span data-s13732055i-ir="this" itemprop="ratingValue"&gt;4.5&lt;/span&gt;
  &lt;/span&gt;
  &lt;div class="wh-rating-choices" style="display: none;"&gt;
  &lt;div class="wh-rating-choices-holder"&gt;
   &lt;a class="hover" href="#"&gt;1&lt;/a&gt;
   &lt;a class="hover" href="#"&gt;2&lt;/a&gt;
   &lt;a class="hover" href="#"&gt;3&lt;/a&gt;
   &lt;a class="hover" href="#"&gt;4&lt;/a&gt;
   &lt;a class="hover" href="#"&gt;5&lt;/a&gt;
   &lt;/div&gt;
   &lt;/div&gt;
  </code></pre>