Current Behavior
Using this piece of code
from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.by import By
browser = webdriver.Firefox()
button_value = '/html/body/div/div[2]/div/div/div/div/div[1]/div/form/div/div[3]/div[3]/a[2]'
.........
browser.find_element(By.XPATH, pin_box).send_keys(pin)
browser.find_element(By.XPATH,, button_value).click() #Click NEXT Button
on this page
I end up going back to the login page
Whereas if I put a break point on
browser.find_element(button_type, button_value).click()
and I click with the mouse manually
I am going to the desired page
Expected Behavior
To end up on the desired page (i.e not the login page) via Selenium like if I was manually clicking on the next button
PS: PIN html source in case you need