I am scraping a webpage using Selenium webdriver in Python
The webpage I am working on, has a form. I am able to fill the form and then I click on the Submit button.
Try The Code below! Working Fine for me!
alert = driver.switch_to.alert try: alert.accept() #If you want to Accept the Alert except: alert.dismiss() #If You want to Dismiss the Alert.