错误:process_metrics.cc NOT IMPLEMENTED错误 [英] ERROR:process_metrics.cc NOT IMPLEMENTED error

查看:132
本文介绍了错误:process_metrics.cc NOT IMPLEMENTED错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近,我们开始在运行Protractor测试时在控制台上得到这些警告:

  [12252: 14584:1207 / 223118.187:ERROR:process_metrics.cc(105)] NOT IMPLEMENTED 
[12252:14584:1207 / 223118.187:ERROR:process_metrics.cc(105)] NOT IMPLEMENTED
[12252:14584: 1207 / 223318.188:ERROR:process_metrics.cc(105)] NOT IMPLEMENTED

感觉它们是随机发生的但不影响测试执行。



唯一的问题是它们污染了输出控制台,使得更难以跟踪正在执行的测试和测试结果茉莉花/量角器。



有没有办法关闭这种 chromedriver 警告?



使用Protractor 5.2.2,ChromeDriver 2.34。




我们发现这个 - silent 可以传递给 chromedriver 可执行文件的标志,但找不到配置方式量角器在启动chromedriver时传递此标志..

解决方案

这似乎是Chrome v63的一个问题



https://github.com/SeleniumHQ / selenium / issues / 5189#issuecomment-351605839


Recently, we've started to get these kind of warnings on the console when running Protractor tests:

[12252:14584:1207/223118.187:ERROR:process_metrics.cc(105)] NOT IMPLEMENTED
[12252:14584:1207/223118.187:ERROR:process_metrics.cc(105)] NOT IMPLEMENTED
[12252:14584:1207/223318.188:ERROR:process_metrics.cc(105)] NOT IMPLEMENTED

It feels like they happen randomly but doesn't affect the test execution.

The only problem is that they pollute the output console making it more difficult to keep track of tests being executed and test results reported by jasmine/protractor.

Is there a way to turn off this kind of chromedriver warnings?

Using Protractor 5.2.2, ChromeDriver 2.34.


We've found this --silent flag that can be passed to chromedriver executable, but could not find a way to configure protractor to pass this flag when launching chromedriver..

解决方案

It seems to be an issue with chrome v63

https://github.com/SeleniumHQ/selenium/issues/5189#issuecomment-351605839

这篇关于错误:process_metrics.cc NOT IMPLEMENTED错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆