title: Why does wait for element_to_be_clickable work but presence_of_element_located does not
body: <p>I am trying to select a radio check box on a page after it loads. I have tried 3 different ways. Two work and one does not, but I don't understand why. The one that does not work is the one I would like to use.</p>
  <p>The below code works with no issues.</p>
  <pre><code>wait=WebDriverWait(driver, 30)
  el = wait.until(EC.presence_of_element_located((By.XPATH, '//*[@id=&quot;stops-1&quot;]')))
  el.click() 
  </code></pre>
  <p>The below code works with no issues.</p>
  <pre><code>wait=WebDriverWait(driver, 30)
  time.sleep(15)
  driver.find_element_by_xpath('//*[@id=&quot;stops-1&quot;]').click()
  </code></pre>
  <p>The below code gives the following error.
  &quot;in until raise TimeoutException(message, screen, stacktrace)
  selenium.common.exceptions.TimeoutException: Message: &quot;</p>
  <pre><code>wait=WebDriverWait(driver, 30)
  el = wait.until(EC.element_to_be_clickable((By.XPATH, '//*[@id=&quot;stops-1&quot;]')))
  el.click()
  </code></pre>
  <p>The page loads in about 10 - 15 seconds and the radio is present and I assume clickable because the other methods worked but this one does not.</p>
  <p>Any help would be appreciated
  below is the link to the sight I am trying to work with</p>
  <p><a href="https://www.expedia.com/Flights-Search?flight-type=on&amp;mode=search&amp;trip=roundtrip&amp;leg1=from%3AAlbuquerque+%28ABQ+-+Albuquerque+Intl.+Sunport%29%2Cto%3ANew+York+%28NYC+-+All+Airports%29%2Cdeparture%3A4%2F24%2F2021TANYT&amp;options=cabinclass%3Aeconomy&amp;leg2=from%3ANew+York+%28NYC+-+All+Airports%29%2Cto%3AAlbuquerque+%28ABQ+-+Albuquerque+Intl.+Sunport%29%2Cdeparture%3A4%2F25%2F2021TANYT&amp;passengers=children%3A0%2Cadults%3A1%2Cseniors%3A0%2Cinfantinlap%3AY&amp;fromDate=4%2F24%2F2021&amp;toDate=4%2F25%2F2021&amp;d1=2021-04-24&amp;d2=2021-04-25" rel="nofollow noreferrer">https://www.expedia.com/Flights-Search?flight-type=on&amp;mode=search&amp;trip=roundtrip&amp;leg1=from%3AAlbuquerque+%28ABQ+-+Albuquerque+Intl.+Sunport%29%2Cto%3ANew+York+%28NYC+-+All+Airports%29%2Cdeparture%3A4%2F24%2F2021TANYT&amp;options=cabinclass%3Aeconomy&amp;leg2=from%3ANew+York+%28NYC+-+All+Airports%29%2Cto%3AAlbuquerque+%28ABQ+-+Albuquerque+Intl.+Sunport%29%2Cdeparture%3A4%2F25%2F2021TANYT&amp;passengers=children%3A0%2Cadults%3A1%2Cseniors%3A0%2Cinfantinlap%3AY&amp;fromDate=4%2F24%2F2021&amp;toDate=4%2F25%2F2021&amp;d1=2021-04-24&amp;d2=2021-04-25</a></p>