I'm trying to automate a login with Selenium in python, but the the tag type is "email", and dosen't have the 'send_keys' atribute nether the 'click' atribute
I selected the tag with xpath:
email_xpath = '//input[@name="email_address"]'
email_box = driver.find_elements_by_xpath(email_xpath)
when i try to force i receive this message:
traceback (most recent call last):
File "/home/gabriel/PycharmProjects/Webnars/webnarJam Sing Up.py", line 78, in <module>
email_box.send_keys(target[1])
AttributeError: 'list' object has no attribute 'send_keys'
Has some way to type our send keys to a input tag type "email"?
'list' objectseems to me as if there are multiple of such elements (find_elements...) that match the XPath. Tryemail_box[0].send_keys(...)