title: Python/Selenium can't get title of youtube video after search
body: <p>I'm learning how to use selenium and I want to make a program that opens up youtube, searches for a video and prints the title of the first video to appear. I don't know why but it instead prints the title of the first video on youtube's homepage.</p>
  <pre><code>from logging import exception
  from selenium import webdriver
  from selenium.webdriver.common.keys import Keys
  from selenium.webdriver.common.by import By
  from selenium.webdriver.support.ui import WebDriverWait
  from selenium.webdriver.support import expected_conditions as EC
  import time
  
  PATH = 'C:\\Program Files (x86)\\chromedriver.exe'
  driver = webdriver.Chrome(PATH)
  driver.get(&quot;https://www.youtube.com/&quot;)
  
  search = driver.find_element(By.CSS_SELECTOR, 'input#search')
  search.send_keys(&quot;busqueda&quot;)
  time.sleep(1)
  search.send_keys(Keys.RETURN)
  time.sleep(5)
  try:
      element = WebDriverWait(driver,10).until(EC.presence_of_element_located((By.XPATH, '//*[@id=&quot;video-title&quot;]')))
  
      print(&quot;título: &quot;, element.get_attribute(&quot;innerHTML&quot;))
  except BaseException as e:
      print(e)            
  finally:
      driver.quit()
  </code></pre>