title: How to click an element visible after hovering with selenium?
body: <p>I want to click a button which is visible after hovering. Its html is:    </p>
  
  <pre><code>&lt;span class="info"&gt;&lt;/span&gt;
  </code></pre>
  
  <p>I used this code:</p>
  
  <pre><code>import selenium.webdriver as webdriver
  from selenium.webdriver.common.action_chains import ActionChains
  
  url = "http://example.com"
  
  driver = webdriver.Firefox()
  driver.get(url)
  element = driver.find_element_by_class_name("info")
  hov = ActionChains(driver).move_to_element(element)
  hov.perform()
  element.click()
  </code></pre>
  
  <p>It's not working though. I got a an error connected with the last line of code <code>element.click():</code></p>
  
  <pre><code>selenium.common.exceptions.ElementNotVisibleException: Message: \
  u'Element is not currently visible and so may not be interacted with' 
  </code></pre>
  
  <p>Any suggestions please?</p>