【发布时间】:2022-01-13 14:44:36
【问题描述】:
当我启动一个新的 selenium 驱动程序时,我收到一条消息:
====== WebDriver manager ======
Current chromium version is 90.0.4430
Get LATEST chromedriver version for 90.0.4430 chromium
Driver [/root/.wdm/drivers/chromedriver/linux64/90.0.4430.24/chromedriver] found in cache
我尝试使用:
chrome_options.add_experimental_option("excludeSwitches", ["enable-logging"])
chrome_options.add_argument('log-level=2')
但没有一个有效。
有没有更好的办法?
【问题讨论】:
标签: python python-3.x selenium logging webdrivermanager-python