I'm trying to automate a login with a user and password on a website, which is this one :
I managed to insert the user and the password trough Selenium, but I can't click on the "Accedi" button, which is the Italian word for "Sign In".
HTML:
<div>
<button value="Accedi" type="submit">Accedi</button>
</div>
I tried the following python code:
1st try:
WebDriverWait(driver, 10).until(EC.element_to_be_clickable((By.XPATH, "/html/body/div[1]/div[2]/div[2]/div[1]/form[1]/div/button"))).click()
2nd try:
button = driver.find_element(by=By.CSS_SELECTOR, value="Accedi")
3rd try:
button = driver.find_element(by=By.LINK_TEXT, value="Accedi")
button.click()
But without success. Can you please help me with this personal project?