错误:process_metrics.cc 未实现错误

时间:2023-04-19
本文介绍了错误:process_metrics.cc 未实现错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

最近,我们开始在运行 Protractor 测试时在控制台上收到此类警告:

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.

唯一的问题是它们污染了输出控制台,使得跟踪正在执行的测试和 jasmine/protractor 报告的测试结果变得更加困难.

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.

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

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

使用 Protractor 5.2.2、ChromeDriver 2.34.

Using Protractor 5.2.2, ChromeDriver 2.34.

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

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..

推荐答案

好像是chrome v63的问题

It seems to be an issue with chrome v63

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

这篇关于错误:process_metrics.cc 未实现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

上一篇:如何使用python更改html行代码 下一篇:在量角器测试中设置 chromedriver 首选项

相关文章