量角器允许通知Chrome 46 [英] Protractor Allow Notifications Chrome 46
本文介绍了量角器允许通知Chrome 46的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在这里找到了chrome pref选项:
解决方案
这是我为了得到它而使用的:
Chrome just auto-updated to version 46. I am trying to run my protractor tests but I always get the Allow Notifications pop-up now. Does anyone know how to get around this? How I can make it always allow notifications for my tests?
I found the chrome pref options here: http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/pref_names.cc?view=markup
And tried using profile.managed_default_content_settings.notifications and still can't get it to work. I am not sure of the expected value for that pref though? Not sure where I can find that. Does anyone see anything wrong with this:
解决方案
This is what I used in order to get it to work:
这篇关于量角器允许通知Chrome 46的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文