Browser Pop -up Ja Nein Selenium Python

from selenium import webdriver
from selenium.webdriver.common.alert import Alert

driver = webdriver.Firefox() # it is your webdriver variable
alert = Alert(driver)
alert.accept()
Expensive Eagle