selenium启动chrome浏览器关掉密码保存提示
from selenium import webdriver
chrome_options = webdriver.ChromeOptions()
# options.headless = True
prefs = {"credentials_enable_service": False,
"profile.password_manager_enabled": False
}
chrome_options.add_experimental_option("prefs", prefs)
# 驱动浏览器
chrome_driver = uc.Chrome(
driver_executable_path="src/selenium/driverfile/chromedriver.exe", options=chrome_options)