title: WebDriverWait(selenium) not working
body: <p>i had written a code in python and selenium. It clicks show-more-results button once. I have used WebDriverWait so that it allows the page to load but no use.</p>
  
  <pre><code>for j in range(100):
      driver.find_element_by_xpath('.//div[@id="show-more-results"]').click()
      WebDriverWait(driver, 50).until(lambda driver : driver.find_element_by_xpath('.//div[@id="show-more-results"]'))
  </code></pre>
  
  <p>The following error is shown</p>
  
  <pre><code>Traceback (most recent call last):
    File "python23.py", line 20, in &lt;module&gt;
      driver.find_element_by_xpath('.//div[@id="show-more-results"]').click()
    File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py", line 60, in click
      self._execute(Command.CLICK_ELEMENT)
    File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py", line 370, in _execute
      return self._parent.execute(command, params)
    File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 166, in execute
      self.error_handler.check_response(response)
    File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 164, in check_response
      raise exception_class(message, screen, stacktrace)
  selenium.common.exceptions.ElementNotVisibleException: Message: u'element not visible\n  (Session info: chrome=34.0.1847.132)\n  (Driver info: chromedriver=2.9.248304,platform=Linux 3.13.0-24-generic x86_64)' 
  </code></pre>