title: Unable to click on text field in modal dialog using Selenium Python
body: <p>I am trying to click and selecting values on username and password field, but its 'modal-dialog', which is making things impossible for me.
  Modal appears right after this URL is opened and ran successfully.</p>
  <p>I am using following code:</p>
  <pre><code>import time
  from selenium import webdriver
  from webdriver_manager.chrome import ChromeDriverManager
  from selenium.webdriver.support.ui import WebDriverWait
  from selenium.webdriver.support import expected_conditions as EC
  
  
  driver = webdriver.Chrome(ChromeDriverManager().install())
  driver.maximize_window()
  driver.get('https://app.staging.showcare.io/product-showcase')
  wait = WebDriverWait(driver, 20)
  wait.until(EC.title_contains(&quot;Signin&quot;))
  print('sign in')
  print('wait')
  userName_field = driver.find_element_by_name('username')
  time.sleep(6)
  userName_field.click()
  userName_field.send_keys('')
  driver.quit()
  </code></pre>
  <p>I know I am using time.sleep, which is not considered best practice, but I am trying to take time of it.
  I have used wait till click as well, its not working.
  Right now, exception it is throwing is this:</p>
  <pre><code>Traceback (most recent call last):
    File &quot;/Users/tp/Documents/Pract/ShowCase_Automation/exhibitorAccess.py&quot;, line 19, in &lt;module&gt;
      userName_field.click()
    File &quot;/Users/tp/Documents/Pract/ShowCase_Automation/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py&quot;, line 80, in click
      self._execute(Command.CLICK_ELEMENT)
    File &quot;/Users/tp/Documents/Pract/ShowCase_Automation/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py&quot;, line 633, in _execute
      return self._parent.execute(command, params)
    File &quot;/Users/tp/Documents/Pract/ShowCase_Automation/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py&quot;, line 321, in execute
      self.error_handler.check_response(response)
    File &quot;/Users/tp/Documents/Pract/ShowCase_Automation/venv/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py&quot;, line 242, in check_response
      raise exception_class(message, screen, stacktrace)
  selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable
    (Session info: chrome=93.0.4577.82)
  </code></pre>
  <p>Can someone help me on this?</p>