Good day community,
I would like your help to figure out what I'm doing wrong with my code.
I'm trying to enter my login information into my job site, but I got the error:
Exception has occurred: AttributeError 'list' object has no attribute 'send_keys'
I already check the documentation of Selenium package but I don't understand the possible solution.
here my current code
# Import python packages
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
# lauching browser with URL
browser = webdriver.Firefox()
browser.get('https://sso.central.conduent.com')
# Enter username
UserElem = browser.find_element_by_name('Ecom_User_ID')
UserElem.clear()
#here is where i got the error
UserElem.send_keys('User#')
# Enter password
passwordElem = browser.find_element_by_name('Ecom_Password')
passwordElem.send_keys('Password#')
# click en boton
butonElem = browser.find_element_by_name('loginButton2')
butonElem.click()