[英]Problem with selenium python (chromedriver)
I have been using selenium in python now for over 2 years but i experienced a problem suddenly (I am using chromedriver) which has never happened before.我已经在 python 中使用 selenium 已有 2 年多了,但我突然遇到了一个以前从未发生过的问题(我正在使用 chromedriver) 。 I can't do anything against it.
我对它无能为力。 It always shows a debug or something while just running it normally no matter what happens Here is a picture of it.
无论发生什么,它总是在正常运行时显示调试或其他内容这是它的图片。 Does anybody know, how i can turn that kind of debug off?
有谁知道,我怎样才能关闭这种调试?
Question : Does anybody know, how i can turn that kind of debug off?问题:有人知道,我怎样才能关闭这种调试?
You can set log level to minimum while launching the driver using the following options您可以在启动驱动程序时使用以下选项将日志级别设置为最低
from selenium.webdriver.chrome.options import Options
chrome_options = Options()
chrome_options.add_argument('--log-level=3')
INFO = 0,
WARNING = 1,
LOG_ERROR = 2,
LOG_FATAL = 3.
default is 0.默认为 0。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.