title: Selenium wait until method
body: <p>I am new to using Selenium and am trying to work out how to use the wait until method on the website booking.com, to wait for the dropdown options to be visible as in the image.
  <a href="https://i.stack.imgur.com/plKUF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/plKUF.png" alt="enter image description here"></a></p>
  
  <p>This is the code I am working with:</p>
  
  <pre><code>driver.get('http://booking.com')
  driver.find_element_by_css_selector('#ss').send_keys("London")
  WebDriverWait(driver,1).until('PLEASE SUGGEST WHAT TO INPUT')
  driver.find_element(By.XPATH, """//*[@id="frm"]/div[2]/div/div[1]/ul[1]/li[1]""").click()
  </code></pre>
  
  <p>Using the chrome inspector, I cannot see any clear selector or element to use in the parentheses for the until method.  When i right-click on the visible options and click 'Copy selector' I just get this: </p>
  
  <pre><code>#frm &gt; div:nth-child(8) &gt; div &gt; div.c-autocomplete.sb-destination &gt; ul.c-autocomplete__list.sb-autocomplete__list.-visible &gt; li.c-autocomplete__item.sb-autocomplete__item.sb-autocomplete__item--city
  </code></pre>
  
  <p>Please can someone suggest what I need to do here.</p>