I am trying to login in ecobolsa.com with Selenium in python3, but the send_keys functions gets me the message:
selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable (Session info: headless chrome=78.0.3904.97)
The code is:
from selenium.webdriver.chrome.options import Options
from selenium import webdriver
options = Options()
options.add_argument('--headless')
options.add_argument('--disable-gpu')
options.add_argument("start-maximized")
options.add_argument("disable-infobars")
options.add_argument("--disable-extensions")
email = 'fake@gmail.com'
password = 'fakepass3'
driver = webdriver.Chrome('chromedriver', options=options)
driver.get('https://www.ecobolsa.com/index.html')
driver.find_element_by_id("userNameTextBox").send_keys(email)
driver.find_element_by_id("password_login").send_keys(password)
I have tried other solutions but none of them have been successful. I need help.
Thank you