title: Click on list item with selenium (python)
body: <p>there is a website with the following HTML-Code-snippet:</p>
  
  <pre><code>&lt;li class="quest" data-questid="Battle_02" data-category="battle"&gt;
  &lt;img src="img/x.gif" alt="" class="reward"&gt;
  &lt;a href="#"&gt;Versteck bauen&lt;/a&gt;
  &lt;/li&gt;
  </code></pre>
  
  <p>I want to click on this list item. The only list item with the img inside. I find the items with xpath. And tried to click on them. I tried it with the "li" token:</p>
  
  <pre><code>xpath = "//img[@class='reward']/parent::*"
  </code></pre>
  
  <p>With the img:</p>
  
  <pre><code>xpath = "//img[@class='reward']
  </code></pre>
  
  <p>And with the "a href":</p>
  
  <pre><code>xpath = "//img[@class='reward']//following::*"
  </code></pre>
  
  <p>Then I'm trying to click on it with the following code:</p>
  
  <pre><code>click_me = self.browser.find_element_by_xpath(xpath)
  click_me.click()
  </code></pre>
  
  <p>But I get an Element is not clickable at point exception.</p>
  
  <p>So I tried it with an action:</p>
  
  <pre><code>action = ActionChains(self.browser)
  action.move_to_element(click_me).click().perform()
  </code></pre>
  
  <p>and with:</p>
  
  <pre><code>action.move_to_element(click_me).move_by_offset(4,0).click().perform()
  </code></pre>
  
  <p>I don't get an error with this but it still doesn't work.</p>
  
  <p>EDIT:
  Used chrome-driver 2.31. Switching to 2.34 solved my problem!</p>