I want to enter the email and the password directly with Splinter in Python. The problem is that it appears this message:
AttributeError: 'ElementList' object has no attribute 'fill'
The code I made is the following:
browser.find_by_id('email').first.find_by_tag('input').fill('test@gmail.com')
browser.find_by_id('password').first.find_by_tag('input').fill('mypassword')
'login_email' is the name of the Textbox, and it's of the type email. The same with the password. ¿Any help of why this isn't working?
Update: I tried the code of narzero but now it says it doesn't found the element: splinter.exceptions.ElementDoesNotExist: no elements could be found with id "email".