#在程序前加上这段代码 from selenium import webdriver options = webdriver.ChromeOptions() options.add_experimental_option("excludeSwitches",["ignore-certificate-errors"]) driver = webdriver.Chrome(chrome_options=options)
时间: 2024-12-28 16:35:05
#在程序前加上这段代码 from selenium import webdriver options = webdriver.ChromeOptions() options.add_experimental_option("excludeSwitches",["ignore-certificate-errors"]) driver = webdriver.Chrome(chrome_options=options)