Python click button on alert
问题 I am new to python, but need to modify code created by someone else. I am not able to post the full code, but I posted most of it below: from bs4 import BeautifulSoup import datetime import getpass from gmail import Gmail from selenium import webdriver from selenium.common.exceptions import NoSuchElementException from selenium.common.exceptions import ElementNotVisibleException from time import sleep from selenium.common.exceptions import NoAlertPresentException from selenium.webdriver