#设置chrome浏览器无界面模式chrome_options=Options()chrome_options.add_argument('--headless')browser = webdriver.Chrome(chrome_options=chrome_options)