I am new to selenium and want to use it to test login page. I have below text field in which I want to insert username.
<div class="WODM WNDM" data-automation-id="userName">
<div class="gwt-Label WBEM">Email Address</div><input type="text"
class="gwt-TextBox WAEM" autocapitalize="none" autocorrect="off"
autocomplete="off" aria-label="Email Address" dir="ltr">
</div>
I have written below code which is not working:
emailElem = driver.find_element_by_class_name('gwt-Label WBEM')
emailElem.send_keys('some_email')
Thanks in advance!