只需在Chromeoptions对象中添加一个属性即可解决
import time
from selenium.webdriver import Chrome, ChromeOptions
options = ChromeOptions()
# options.headless = True
options.add_experimental_option('excludeSwitches', ['enable-automation'])
browser = Chrome(r'D:\CentBrowser\CentBrowser\Application\chromedriver.exe', options=options)
browser.get('www.baidu.com')
browser.save_screenshot('baidu.png')
browser.quit()