在Selenium中,如何关闭日志记录?

时间:2021-08-15 07:23:58

I am using the following method:

我使用以下方法:

set_browser_log_level 'off'

but my log level continues to include INFOs.

但我的日志级别继续包括INFO。

I am trying to suppress both logging and the "Last 4 commands" display for when my test enters a login password.

当我的测试输入登录密码时,我试图禁止记录和“最后4个命令”显示。

http://release.seleniumhq.org/selenium-remote-control/0.9.2/doc/ruby/classes/Selenium/SeleniumDriver.html#M000128

1 个解决方案

#1


0  

i would advise you to switch to the latest version , even if its called beta. these selenium guys have strange version numbers. see if that helps.

我会建议你切换到最新版本,即使它被称为测试版。这些硒人有奇怪的版本号。看看是否有帮助。

#1


0  

i would advise you to switch to the latest version , even if its called beta. these selenium guys have strange version numbers. see if that helps.

我会建议你切换到最新版本,即使它被称为测试版。这些硒人有奇怪的版本号。看看是否有帮助。