Hi can someone help me how can i accept the alert after I click the save button ?
I tried the accept.alert() but its not working
Hi can someone help me how can i accept the alert after I click the save button ?
I tried the accept.alert() but its not working
Try this with explicitly wait condition:
alert = WebDriverWait(driver, 30).until(
EC.alert_is_present())
alert.accept()
imports:
from selenium import webdriver
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.wait import WebDriverWait