I forgot my password and I wrote this code with Selenium to try to recover my pass, but I don't know how to continue. I can’t reset the password and I am trying to remember it using the function. Something like force brute. So, I dont know how to make a loop generating a new password, with the function, enter it in the box "Contraseña: " until it is correct Can someone help me? I try different ways to continue but I don't know. Is any way to do it?
I have a function that generates a password. The function is call: password_generator
driver = webdriver.Chrome(PATH)
driver.get("http://siga.frba.utn.edu.ar/")
print(driver.title)
link = driver.find_element_by_id("page-try")
link.click()
time.sleep(1)
link = driver.find_element_by_xpath('//*[@id="menu-page-try"]/p[4]/a')
link.click()
time.sleep(1)
search = driver.find_element_by_name("form_email")
search.send_keys("35335")
search.send_keys(Keys.RETURN)
time.sleep(0.5)