title: Python, selenium - why do i get this error?
body: <p>I want to access google maps with python, but at first you have to click accept cookies button and I don't know why but I keep getting this error:</p>
  <blockquote>
  <p>File &quot;file&quot;, line 12, in 
  WebDriverWait(driver, 10).until(EC.element_to_be_clickable((By.XPATH,
  '//*[@id=&quot;introAgreeButton&quot;]'))).click()   File
  &quot;C:\Users\gassp\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\selenium\webdriver\support\wait.py&quot;,
  line 80, in until<br />
  raise TimeoutException(message, screen, stacktrace) selenium.common.exceptions.TimeoutException: Message:</p>
  </blockquote>
  <p>Here is my code:</p>
  <pre><code>from selenium import webdriver
  from selenium.webdriver.common.keys import Keys
  from selenium.webdriver.support.ui import WebDriverWait
  from selenium.webdriver.common.by import By
  from selenium.webdriver.support import expected_conditions as EC
  
  driver = webdriver.Chrome('PATH')
  url = 'https://www.google.com/maps/'
  
  driver.get(url)
  
  WebDriverWait(driver, 10).until(EC.element_to_be_clickable((By.XPATH, '//*[@id=&quot;introAgreeButton&quot;]'))).click()
  WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.XPATH, '//*[@id=&quot;searchboxinput&quot;]'))).send_keys('gostilne')
  driver.submit()
  </code></pre>