python selenium webdriver Loading of unpacked extensions is disabled by administrator
from selenium import webdriver
chromeOptions = webdriver.ChromeOptions()
chromeOptions.add_experimental_option('useAutomationExtension', False)
chrome_path = "C:\\Users\\XXX\\Python\\MY\\webdriver-Chrome\\chromedriver.exe"
#driver = webdriver.Chrome(executable_path=chrome_path ,options=chromeOptions, desired_capabilities=chromeOptions.to_capabilities())
driver = webdriver.Chrome(executable_path=chrome_path ,options=chromeOptions)
driver.get("http://www.python.org")
driver.quit()
print("退出Chome")