I'm trying to hit the button but it doesn't work
driver.find_element(By.CSS_SELECTOR, "input[type='submit']").click()
CodePudding user response:
Ty by xpath:
driver.find_element(By.XPATH, "//button[@type='submit']").click()
Or
driver.find_element(By.CSS_SELECTOR, "button[type='submit']").click()