title: Python Selenium Element Not interactable
body: <p>I'm having trouble with the <code>send_keys()</code>, any help is greatly appreciated.</p>
  
  <p>below is my code</p>
  
  <pre><code>from selenium import webdriver
  from selenium.webdriver.common.by import By
  from selenium.webdriver.support import expected_conditions as EC
  from selenium.webdriver.support.ui import WebDriverWait
  
  
  browser = webdriver.Chrome('C:\\Users\johns\Downloads\chromedriver')
  browser.get('https://www.youtube.com/')
  
  searchbox=browser.find_element_by_xpath('//*[@id="search"]')
  searchbox.send_keys('economics explained')
  
  searchbutton = WebDriverWait(browser, 6).until(EC.presence_of_element_located((By.XPATH, '//*[@id="search-icon-legacy"]/yt-icon')))
  browser.execute_script("arguments[0].click();", searchbutton)
  </code></pre>
  
  <p>Every time I run the program, the chrome tab pops up and youtube is opened but <code>searchbox.send_keys('economics explained')</code> doesn't work 
  instead, I get this error message.</p>
  
  <pre><code>File "C:/Users/johns/PycharmProjects/DABIGHIT/testing 2.py", 
  line 11, in &lt;module&gt; searchbox.send_keys('economics explained')
  
  File "C:\Users\johns\PycharmProjects\DABIGHIT\venv\lib\site-packages\selenium\webdriver\remote
  \webelement.py", 
  line 477, in send_keys self._execute(Command.SEND_KEYS_TO_ELEMENT),
  
  File "C:\Users\johns\PycharmProjects\DABIGHIT\venv\lib\site-packages\selenium\webdriver\remote
  \webelement.py",
  line 633, in _execute return self._parent.execute(command, params)
  
  File "C:\Users\johns\PycharmProjects\DABIGHIT\venv\lib\site-packages\selenium\webdriver\remote
  \webdriver.py", 
  line 321, in execute self.error_handler.check_response(response)
  
  File "C:\Users\johns\PycharmProjects\DABIGHIT\venv\lib\site-packages\selenium\webdriver\remote
  \errorhandler.py", 
  line 242, in check_response raise exception_class(message, screen, stacktrace)
  
  selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable
  </code></pre>