title: Combining implicit wait and explicit wait together results in unexpected wait times
body: <p>My two scenarios - </p>
  
  <p>1) First</p>
  
  <pre><code>@driver.manage.timeouts.implicit_wait = 30
  @wait = Selenium::WebDriver::Wait.new(:timeout =&gt; 45) # Time greater than implicit
  @wait.until {@driver.find_element(:tag_name =&gt; "body").text.include?("hey")}
  </code></pre>
  
  <p>Which gives the driver 45 seconds to search for the text(which is expected)</p>
  
  <p>2) Second</p>
  
  <pre><code>@driver.manage.timeouts.implicit_wait = 30
  @wait = Selenium::WebDriver::Wait.new(:timeout =&gt; 5) # Time less than implicit
  @wait.until {@driver.find_element(:tag_name =&gt; "body").text.include?("hey")}
  </code></pre>
  
  <p>This now gives the driver <strong>30 seconds</strong> to search for the text(not expected)</p>
  
  <p>Is there a way to make selenium wait only for the <code>explicit</code> wait time and not for the greater of the two?</p>
  
  <p>Note - Not declaring the implicit wait time is not an option, cause I cannot afford to let selenium hang each time the driver is unable to find something. </p>
  
  <p>Using Selenium version 30, windows, ff</p>