options.add_argument('--disable-infobars') #Prohibit tactical
options.add_argument('--no-sandbox') #Solve the error that the DevToolsActivePort file does not exist
options.add_argument('window-size=1920x3000') #Specify browser resolution
options.add_argument('--disable-gpu') #Google documentation mentions that this attribute needs to be added to avoid bugs
options.add_argument('--incognito') #Incognito mode (incognito mode)
options.add_argument('--disable-javascript') #Disable javascript
options.add_argument('--start-maximized') #Maximize operation (full screen window),If not set, an error will be reported when the element is taken
options.add_argument('--hide-scrollbars') #Hide scroll bar,Deal with some special pages
options.add_argument('blink-settings=imagesEnabled=false') #Don't load pictures,boost speed
options.add_argument('--headless') #The browser does not provide a visual page.If the system does not support visualization under linux, it will fail to start without adding this one
options.binary_location = r"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" #Manually specify the browser location used
options.add_argument('lang=en_US') #language setting
options.add_argument('User-Agent=Mozilla/5.0 (Linux; U; Android 8.1.0; zh-cn; BLA-AL00 Build/HUAWEIBLA-AL00) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/57.0.2987.132 MQQBrowser/8.9 Mobile Safari/537.36')
options.add_argument('--headless') #The browser does not provide a visual page
prefs ={"":""}
prefs["credentials_enable_service"]= False
prefs["profile.password_manager_enabled"]= False
chrome_option_set.add_experimental_option("prefs", prefs) #shield'Save password'Prompt box
python + selenium to achieve snapshot (save the entire web page as a picture): https://www.cnblogs.com/shuaichao/p/13176915.html