Click a Button with Python Using Selenium Click a Button with Python Using Selenium selenium selenium

Click a Button with Python Using Selenium


You can try to click by text in the button, something like this:

driver.find_element_by_xpath("//button[contains(string(.),'Not Now']").click()