I wrote so a few lines of code:
Chrome_options=Options ()
Chrome_options. Add_experimental_option (" excludeSwitches ", [' enable - automation '])
Chrome_options. Add_argument (' - headless ')
Driver=webdriver. Chrome ('../chromedriver. Exe ', the options=chrome_options)
Results the following message:
If the third row chrome_options. Add_argument (' - headless) commented can run normally, run the program last year when the silent mode is quite normal, but in between me and the computer to install these modules, webdriver and chrome version is the corresponding,