参考代码

from selenium import webdriver
options = webdriver.ChromeOptions()

driver = webdriver.Chrome("D:\\chromedriver",options=options)

cookies = [
    {
        'name': 'style',
        'value': '*'
   },
    {
        'name': 'User-Center',
        'value': '*'
    },

]



for cookie in cookies:
    driver.add_cookie(cookie)

driver.get("https://xxxx")