方法:
options = webdriver.ChromeOptions()options.add_argument('disable-infobars')driver = webdriver.Chrome(chrome_options=options)