Hello I want to write my e-mail automatically to a field on a website. The code that I'm trying is
driver.find_element_by_variable("variable").send_keys(username)
Normally I can do what I want on different websites but for this website I guess HTML codes are written little bit different. Here is the HTML code.
<div class="mat-form-field-infix ng-tns-c58-0"><input placeholder="jane.doe@email.com" matinput=""
<input placeholder="jane.doe@email.com" matinput="" formcontrolname="username" type="text"
autocomplete="off"
class="mat-input-element mat-form-field-autofill-control ng-tns-c58-0 ng-pristine ng-invalid cdk-text-field-autofill-monitored ng-touched"
id="mat-input-0" data-placeholder="jane.doe@email.com" aria-invalid="false" aria-required="false">
How should I write the find_element
code?