问题描述
最近,我们开始在运行 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 未实现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!



大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)