title: Python Selenium driver.implicitly_wait(30)
body: <p>We are using VM for the development and Jenkins as a suite. this morning we had a problem with a Selenium test that never happened before. Before I paste the code, it's important to know that the selenium test works on my machine but fails on Jenkins.. (And that it has been working for month)</p>
  
  <pre><code>class Remote(unittest.TestCase):
      def setUp(self):
          self.driver = webdriver.Firefox()
          self.driver.implicitly_wait(30)
          self.base_url = "https://developer.intuit.com/"
          self.verificationErrors = []
          self.accept_next_alert = True
  </code></pre>
  
  <p>Here is the code that is causing this bug :</p>
  
  <pre><code>ERROR: test_sl_front (__main__.SlFront)
  
  Traceback (most recent call last):
    File "./scripts/test-sl/sl-front.py", line 160, in setUp
      self.driver.implicitly_wait(30)
    File "/var/lib/jenkins/.local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 778, in implicitly_wait
      'implicit': int(float(time_to_wait) * 1000)})
    File "/var/lib/jenkins/.local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 308, in execute
      self.error_handler.check_response(response)
    File "/var/lib/jenkins/.local/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 194, in check_response
      raise exception_class(message, screen, stacktrace)
  WebDriverException: Message: timeouts
  </code></pre>
  
  <p>It is very weird since everything worked fine yesterday and the day before that. 
  I tried to remove the ".Firefox()" thinking it might be related to the problem but nothing changed. </p>
  
  <p>The problem is caused by "self.driver.implicitly_wait(30)" which has been used for months. 
  We are using the following command line to start this test during the Jenkin's build.</p>
  
  <pre><code>export DISPLAY=:99
  python ./scripts/test-sl/sl-front.py
  </code></pre>