I am attempting to use Selenium for the first time to login to a website in automated fashion. I am able to locate the email (serving as a username) element pretty easily using this code:
However, for the password, there are no id or name tags, so I'm having difficulty finding that element. Here is the source code of the page. The password element is highlighted in gray below:
I have tried locating the password element by link_text and class_name with the following statements, but both have failed:
I imagine locating by XPath may be the way to go here, but I am unsure of the syntax (especially since there are so many div tags). Any assistance is appreciated.