Answers for "browser pop up yes no selenium python"

1

browser pop up yes no 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()
Posted by: Guest on August-03-2021

Python Answers by Framework

Browse Popular Code Answers by Language