Chrome 文件下载--直接点击文件zip、exe等格式类型不弹框,直接下载
profile.default_content_settings.popups:设置为 0 禁止弹出窗口
download.default_directory:设置下载路径
from selenium import webdriver
import time
option = webdriver.ChromeOptions()
prefs = {
'profile.default_content_settings.popups': 0, 'download.default_directory